/* ---- CSS RESET & BASE ---- */
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 {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #1D2742;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  background-color: #F6F5F0;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1D2742;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #E2C490;
  outline: none;
}
ul, ol {
  margin-bottom: 20px;
  padding-left: 22px;
}
li + li {
  margin-top: 6px;
}
strong, b {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #1D2742;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.24rem; margin-bottom: 10px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

p, .subheadline {
  color: #1D2742;
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
.subheadline {
  font-size: 1.13rem;
  color: #393939;
  font-weight: 400;
  margin-bottom: 20px;
}

address {
  font-style: normal;
  color: #393939;
  font-size: 1rem;
  margin-bottom: 12px;
}

/* ---- CONTAINER & LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 24px rgba(29,39,66,0.07);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1px solid #ebe9e0;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(29,39,66,0.12);
  border-color: #E2C490;
  z-index: 1;
}

.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: center;
  gap: 20px;
  background: #fff;
  color: #222;
  padding: 20px 26px;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(29,39,66,0.09);
  min-width: 220px;
  max-width: 450px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  border: 1px solid #ebe5d5;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #1d2742;
  font-family: 'Playfair Display', serif;
  font-size: 1.09rem;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #393939;
  font-size: 1rem;
}
.testimonials .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 28px 22px;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(29,39,66,0.08);
  margin-bottom: 20px;
}

.filters, .filters ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.filters strong {
  margin-right: 6px;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}
.tag {
  background: #1D2742;
  color: #fff;
  border-radius: 30px;
  padding: 3px 14px;
  font-size: 0.97rem;
  margin-right: 8px;
  margin-bottom: 5px;
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  transition: background 0.15s;
}
.tag a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.tag a:hover {
  color: #E2C490;
}

/***** HEADER NAVIGATION *****/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(29,39,66,0.07);
  margin-bottom: 1px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
header .logo img {
  height: 44px;
  width: auto;
  display: block;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1.06rem;
  color: #1D2742;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  border-radius: 3px;
  transition: color 0.18s, background 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #E2C490;
  background: #1D2742;
  text-decoration: none;
  outline: none;
}

.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1D2742;
  display: none;
  cursor: pointer;
  transition: color .19s;
  padding: 6px 10px;
  z-index: 102;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E2C490;
}

@media (max-width: 1020px) {
  header nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 8px;  
  }
  header nav {
    gap: 10px;
  }
  header .logo img { height: 36px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: 56px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/***** MOBILE MENU OVERLAY *****/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #1D2742;
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.76,.03,.25,1);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 22px 28px 12px 0;
  cursor: pointer;
  transition: color .16s;
  z-index: 201;
}
.mobile-menu-close:focus {
  outline: 2px solid #E2C490;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 34px;
  width: 100%;
  margin-top: 14px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 8px 0;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2C490;
  color: #1D2742;
  outline: none;
}

/***** HERO SECTION *****/
.hero {
  background: #fff;
  padding: 44px 0 32px 0;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 4px 38px rgba(29,39,66,0.08);
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-width: 680px;
}
@media (max-width: 600px) {
  .hero {
    padding: 24px 0 22px 0;
    border-radius: 0 0 14px 14px;
    margin-bottom: 34px;
  }
  .hero .content-wrapper {
    max-width: 100%;
  }
}

/***** FEATURES GRID *****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  box-shadow: 0 2px 18px rgba(29,39,66,0.09);
  border: 1px solid #ece9e1;
  border-radius: 14px;
  padding: 26px 20px 18px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 285px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .19s, border-color .19s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(29,39,66,0.14);
  border-color: #E2C490;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  color: #1D2742;
  font-size: 1.17rem;
  margin: 0 0 4px 0;
}
.feature-grid p {
  color: #393939;
  font-size: 0.98rem;
}

/***** SERVICES LIST & FILTERS *****/
.services {
  background: #faf9f7;
  border-radius: 18px;
}
.services h2 {
  color: #1D2742;
}
.services .content-wrapper {
  gap: 22px;
  margin-top: 16px;
}
.services ul {
  margin-bottom: 10px;
  padding-left: 24px;
}
.services ul li {
  color: #222;
  font-size: 1.07rem;
  margin-bottom: 7px;
}
.services .filters {
  margin-top: 8px;
  gap: 12px;
}
.services .filters ul li {
  display: inline-block;
  margin: 0 12px 0 0;
}
.services .filters ul li a {
  background: #1D2742;
  color: #fff;
  border-radius: 20px;
  padding: 3px 13px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background .17s, color .17s;
}
.services .filters ul li a:hover, .services .filters ul li a:focus {
  background: #E2C490;
  color: #1D2742;
  outline: none;
}

/***** CONTACT BLOCKS *****/
.contact {
  background: #fff;
  border-radius: 17px;
  margin-bottom: 46px;
}
.contact .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.contact .cta-button {
  margin-left: 0;
}
.contact .text-section {
  max-width: 380px;
  font-size: 1.09rem;
}
.contact .text-section ul,
.contact .text-section address {
  margin-bottom: 9px;
}
.contact .text-section img {
  width: 22px; height: 22px; vertical-align: middle; margin-right: 7px;
}

/***** CTA BUTTONS *****/
.cta-button {
  display: inline-block;
  background: #1D2742;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 600;
  border: none;
  border-radius: 36px;
  padding: 12px 32px;
  margin-top: 4px;
  margin-bottom: 8px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 4px rgba(29,39,66,0.07);
  text-decoration: none;
  transition: background 0.21s, color 0.21s, box-shadow 0.21s;
  letter-spacing: .012em;
}
.cta-button:hover, .cta-button:focus {
  background: #E2C490;
  color: #1D2742;
  box-shadow: 0 2px 14px rgba(29,39,66,0.15);
}

/***** FOOTER *****/
footer {
  background: #1D2742;
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 40px;
  border-radius: 14px 14px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
footer nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}
footer nav a {
  color: #E2C490;
  font-size: 0.99rem;
  text-decoration: underline;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color .17s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: none;
  outline: none;
}
footer .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  align-items: center;
  font-size: 0.97rem;
  color: #fff;
}
footer .contact-info img {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin-right: 5px;
}

/***** Zásady/Footer section fix *****/
section.footer > .container {
  padding: 40px 20px;
}
section.footer .content-wrapper {
  gap: 0;
}

/***** MEDIA QUERIES - RESPONSIVE *****/
@media (max-width: 992px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper, .testimonials .content-wrapper {
    gap: 18px;
  }
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 850px) {
  .feature-grid > div {
    min-width: 44vw;
    max-width: 100%;
  }
  .testimonials .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 38px;
    padding: 28px 7px;
  }
  .feature-grid {
    flex-direction: column;
  }
  .content-grid, .testimonials .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .features .content-wrapper, .services .content-wrapper, .contact .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .contact .content-wrapper {
    gap: 18px;
  }
  .footer .container, footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  footer nav {
    gap: 16px;
    margin-bottom: 14px;
  }
  .testimonial-card {
    padding: 13px 11px;
    max-width: 98vw;
  }
  .filters, .filters ul {
    gap: 7px;
    flex-wrap: wrap;
  }
}
@media (max-width: 450px) {
  h1 { font-size: 1.36rem; }
  .cta-button { font-size: 1rem; padding: 9px 18px; }
  .testimonial-card { padding: 9px 6px; }
}

/***** MICRO-ANIMATIONS & INTERACTIONS *****/
.card, .feature-grid > div, .testimonial-card, .feature-item {
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover, .feature-grid > div:hover, .feature-item:hover {
  box-shadow: 0 6px 21px rgba(29,39,66,0.13);
  border-color: #E2C490;
}

/***** COOKIE CONSENT BANNER *****/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222;
  color: #fff;
  padding: 22px 14px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 20px rgba(30,30,30,0.13);
  z-index: 9999;
  gap: 12px;
  font-size: 1rem;
  animation: banner-slide-up 0.4s cubic-bezier(.6,.02,.41,1) 1;
}
@keyframes banner-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cookie-banner button, .cookie-modal .cookie-action-btn {
  background: #1D2742;
  color: #fff;
  border: none;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 24px;
  cursor: pointer;
  margin-bottom: 2px;
  transition: background .13s, color .13s;
  outline: none;
}
.cookie-banner button:hover, .cookie-modal .cookie-action-btn:hover {
  background: #E2C490;
  color: #1D2742;
}
.cookie-banner button.cookie-settings {
  background: transparent;
  color: #E2C490;
  border: 1px solid #E2C490;
}
.cookie-banner button.cookie-settings:hover {
  color: #1D2742;  background: #E2C490;
}

/**** COOKIE MODAL POPUP *****/
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(29,39,66,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  animation: cookiemodal-fadein .24s cubic-bezier(.74,.01,.2,1.1) 1;
}
@keyframes cookiemodal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #1D2742;
  border-radius: 12px;
  padding: 32px 28px;
  width: 96%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 38px rgba(29,39,66,0.21);
  position: relative;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #222;
  font-size: 1.45rem;
  font-family: 'Roboto', Arial, sans-serif;
  cursor: pointer;
  z-index: 3;
  transition: color .18s;
}
.cookie-modal .cookie-modal-close:focus {
  outline: 2px solid #E2C490;
}
.cookie-modal h2, .cookie-modal h3 {
  font-family: 'Playfair Display', serif;
  color: #1D2742;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #eceae5;
  font-size: 1rem;
  gap: 8px;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cookie-toggle input[type="checkbox"] {
  width: 38px;
  height: 20px;
  appearance: none;
  background: #e6e5e3;
  border-radius: 10px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .16s;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: #E2C490;
}
.cookie-toggle input[type="checkbox"]:after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .16s;
  box-shadow: 0 1px 3px rgba(29,39,66,0.14);
}
.cookie-toggle input[type="checkbox"]:checked:after {
  left: 20px;
}
.cookie-modal .cookie-category .always-on {
  color: #b9b8b6;
  font-size: 0.97rem;
  margin-left: 7px;
  font-style: italic;
}
.cookie-modal .cookie-action-btn {
  margin-top: 15px;
  align-self: flex-end;
  padding: 8px 28px;
}

/***** UTILITIES *****/
.text-section {
  margin-bottom: 12px;
}
.text-section img {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/**** SPACING RULES ENFORCEMENT ****/
.section + .section,
.section + section, section + .section {
  margin-top: 20px;
}
.card + .card, .feature-item + .feature-item, .testimonial-card + .testimonial-card, .content-grid > * + * {
  margin-left: 0;
}

/***** SCROLL BAR THEME FOR ELEGANCE *****/
::-webkit-scrollbar {
  width: 9px;
  background: #ededed;
}
::-webkit-scrollbar-thumb {
  background: #bcbcbb;
  border-radius: 7px;
}
@media (max-width: 430px) {
  .cookie-modal-content { padding: 18px 4px; }
}

/***** ACCESSIBILITY FIXES *****/
a:focus, button:focus, input:focus {
  outline: 2px solid #E2C490;
  outline-offset: 1px;
}

/* Hide cookie modals and banners by default (to be toggled by JS) */
.cookie-banner, .cookie-modal {
  display: none;
}
.cookie-banner.active, .cookie-modal.active {
  display: flex;
}

/***** END SOPHISTICATED MONOCHROME THEME *****/
