/* =====================================================================
   Domov na Dosah — Minimalist CSS
   Author: Senior CSS/UI Designer | 2024
   ===================================================================== */

/* ==== CSS Reset & Normalize (modern minimalist baseline) ==== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html, body, div, section, article, aside, header, footer, main, nav,
h1, h2, h3, h4, h5, h6, p, ul, ol, li, a, img, figure, figcaption, button,
input, textarea, select, label {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
body {
  line-height: 1.55;
  background: #FFFFFF;
  color: #255154;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #255154;
  text-decoration: none;
  transition: color .20s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #EE6B3B;
  outline: none;
}
ul, ol {
  list-style-position: inside;
}
button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

/* ==== Typography ==== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #255154;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #255154;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #255154;
}
h4, .h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #255154;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #255154;
  margin-bottom: 16px;
  line-height: 1.7;
}
.text-section p:last-child, .text-section ul:last-child, ul li:last-child, p:last-child {
  margin-bottom: 0;
}
strong {
  color: #255154;
  font-weight: 700;
}

/* ==== Container Layouts & Spacing ==== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-container,
.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: transparent;
}
.card-container, .features-grid, .services-grid, .services-list, .testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}
.testimonials-grid { gap: 24px; }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFFFF;
  min-width: 220px;
  flex: 1 1 220px;
  padding: 28px 24px 24px 24px;
  border-radius: 14px;
  box-shadow: 0 3px 24px 0 rgba(37,81,84,0.07);
  transition: box-shadow 0.18s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 32px 0 rgba(37,81,84,0.12);
}
.service-card {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 3px 24px 0 rgba(37,81,84,0.07);
  min-width: 220px;
  flex: 1 1 220px;
  padding: 28px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(37,81,84,0.14);
}
.service-price {
  font-size: 1rem;
  color: #EE6B3B;
  font-weight: 600;
  margin-top: auto;
  padding-top: 8px;
}

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(37,81,84,0.08);
  position: relative;
  margin-bottom: 20px;
  padding: 30px 24px 24px 24px;
}
.testimonial-card {
  background: #FAFAFA;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(37,81,84,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow .14s, background .13s;
}
.testimonial-card p {
  color: #255154;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.65;
}
.testimonial-meta {
  color: #4D6A6B;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(37,81,84,0.16);
  background: #F6F7F7;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list, .benefits-list ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
}
.feature-list li, .benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: transparent;
  border-radius: 7px;
  padding: 6px 0;
}

.alternate-contact {
  color: #9C9C94;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  margin-top: 12px;
}

ol, ul {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 16px;
}

/* ==== Hero Section ==== */
.hero {
  background: linear-gradient(115deg, #EAEBE5 75%, #fff 100%);
  border-radius: 0 0 32px 32px;
  padding: 38px 0 44px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.15rem;
  color: #255154;
  margin-bottom: 28px;
}
.hero .btn-primary {
  font-size: 1.08rem;
  padding: 14px 34px;
}

/* ==== Navigation Styles ==== */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 12px 0 rgba(37,81,84,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  height: 38px;
  margin-right: 12px;
  cursor: pointer;
}
.logo img { height: 38px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
}
.main-nav a {
  color: #255154;
  padding: 6px 2px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EAEBE5;
  color: #EE6B3B;
}
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #255154;
  color: #fff;
  border-radius: 40px;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-left: 24px;
  box-shadow: 0 3px 24px 0 rgba(37,81,84,0.07);
  transition: background .18s, color .18s, box-shadow .16s, transform .10s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #EE6B3B;
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(37,81,84,0.13);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* ==== Mobile Burger Menu ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #255154;
  margin-left: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .15s, color .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EAEBE5;
  color: #EE6B3B;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1200;
  transform: translateX(100vw);
  opacity: 0;
  transition: transform .33s cubic-bezier(0.77,0.2,0.05,1.0), opacity .29s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #255154;
  padding: 24px 20px 0 0;
  background: none;
  border: none;
  transition: color .18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #EE6B3B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
  padding: 10px 0;
  border-radius: 8px;
  color: #255154;
  transition: background .17s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EAEBE5;
  color: #EE6B3B;
}

/* Hide navigation on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    margin-left: 0;
  }
  .header-container {
    gap: 10px;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== Footer ==== */
footer {
  background: #FAFAFA;
  border-top: 1px solid #EAEBE5;
  margin-top: 80px;
  padding: 32px 0 12px 0;
}
.footer-container {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-logo img {
  width: 42px; height: 42px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.97rem;
}
.footer-nav a {
  color: #255154;
  opacity: .9;
  border-radius: 8px;
  padding: 4px 7px;
  transition: background .15s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #EAEBE5;
  color: #EE6B3B;
}
.footer-copy {
  color: #7B8784;
  font-size: 0.92rem;
  margin-left: auto;
}

/* ==== Utility Classes ==== */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.w-full { width: 100%; }

/* ==== Special Components ==== */
.sort-filter-tools {
  background: #FAFAFA;
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 14px;
  margin-bottom: 0;
  box-shadow: 0 1px 8px 0 rgba(37,81,84,0.03);
}
.sort-filter-tools h3 { color: #255154; font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.sort-filter-tools ul { margin-bottom: 0; }

.consultation-steps {
  margin-bottom: 18px;
}
.consultation-steps ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 0;
  font-size: 1rem;
}

.service-overview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== Cookie Consent Banner & Cookie Modal ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: #FFFFFF;
  border-top: 1px solid #EAEBE5;
  box-shadow: 0 -8px 20px -8px rgba(37,81,84,0.11);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform .29s, opacity .21s;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  color: #255154;
  font-size: 1rem;
  margin-bottom: 0;
  max-width: 350px;
}
.cookie-banner .cookie-btn {
  background: #255154;
  color: #fff;
  border-radius: 40px;
  padding: 8px 24px;
  margin-right: 7px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .15s, color .16s, box-shadow .13s;
  box-shadow: 0 1px 7px 0 rgba(37,81,84,0.08);
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #EAEBE5;
  color: #255154;
  border: 1px solid #EAEBE5;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #EE6B3B;
  color: #fff;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #EE6B3B;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(37, 81, 84, 0.08);
  z-index: 2200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .23s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 420px;
  width: 94vw;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 6px 26px 0 rgba(37,81,84,0.17);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: pop-in-cookie .27s;
}
@keyframes pop-in-cookie {
  0% { transform: scale(0.89) translateY(40px); opacity: 0.4; }
  80% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-modal .cookie-prefs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #EAEBE5;
  font-size: 1rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #EE6B3B;
  width: 18px;
  height: 18px;
}
.cookie-category .essential {
  color: #255154;
  font-style: italic;
  font-size: .91em;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn {
  background: #255154;
  color: #fff;
  border-radius: 40px;
  padding: 8px 24px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .15s, color .16s, box-shadow .13s;
  box-shadow: 0 1px 7px 0 rgba(37,81,84,0.08);
}
.cookie-modal .cookie-btn.cookie-reject {
  background: #EAEBE5;
  color: #255154;
  border: 1px solid #EAEBE5;
}
.cookie-modal .cookie-btn.cookie-save {
  background: #EE6B3B;
  color: #fff;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #EE6B3B;
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 22px; top: 16px;
  background: none; border: none;
  font-size: 1.4rem;
  color: #255154;
  transition: color .14s;
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #EE6B3B;
}

/* ==== Responsive Rules ==== */
@media (max-width: 1300px) {
  .container { max-width: 1000px; }
}
@media (max-width: 1020px) {
  .container { max-width: 98vw; padding: 0 11px; }
  .content-wrapper { gap: 20px; }
  .footer-logo img { width: 34px; height: 34px; }
  .footer-container { gap: 10px; padding: 12px 0; }
}
@media (max-width: 900px) {
  .features-grid, .services-grid, .testimonials-grid, .services-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  html, body { font-size: 15px; }
  .header-container, .footer-container { flex-direction: column; align-items: flex-start; gap: 13px; }
  .hero { padding: 23px 0 28px 0; margin-bottom: 34px; }
  .hero .content-wrapper { padding: 0 5px; }
  .btn-primary { padding: 11px 22px; font-size: 1rem; }
  h1, .h1 { font-size: 2rem; margin-bottom: 18px; }
  h2, .h2 { font-size: 1.3rem; margin-bottom: 13px; }
  h3, .h3 { font-size: 1.09rem; }
  section, .section { padding: 26px 0 0 0; margin-bottom: 32px; }
  .testimonial-card, .feature-item, .service-card { padding: 18px 13px; }
  .features-grid, .testimonials-grid, .services-grid, .services-list {
    gap: 13px;
  }
  .feature-item, .service-card, .testimonial-card {
    min-width: unset;
    flex: 1 1 0;
  }
  .text-image-section { flex-direction: column !important; gap: 18px; }
  .content-grid { flex-direction: column; gap: 13px; }
  .sort-filter-tools { padding: 13px 9px; margin-top: 8px; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 10px; padding: 13px 7px; }
}
@media (max-width: 480px) {
  .container { padding: 0 5px; }
  .hero .content-wrapper { padding: 0 2px; }
  h1, .h1 { font-size: 1.42rem; }
  h2, .h2 { font-size: 1rem; }
  .footer-nav, .footer-copy { font-size: 0.85rem; }
}

/* ==== Accessible Focus Styles ==== */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid #255154;
  outline-offset: 2px;
}

/* ==== Animations & Micro-Interactions ==== */
.card, .feature-item, .service-card, .testimonial-card {
  transition: box-shadow .18s, transform .13s;
}
.card:hover, .feature-item:hover, .service-card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px 0 rgba(37,81,84,0.13);
}
.btn-primary, .cookie-btn {
  transition: background .17s, color .15s, box-shadow .13s, transform .07s;
}

/* ==== Print styles / Redundant elements for minimalist UI ==== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container, body { padding: 0; margin: 0; }
}

/* ==== End of stylesheet ==== */
