/* =================================== */
/*  DOMOV V MALÉM: ELEGANT CLASSIC CSS  */
/* =================================== */
/* 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;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F3F3F0;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #22403B;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
a {
  color: #22403B;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A67D4B;
}
strong, b {
  font-weight: 600;
}

/* Font-family for refined headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #22403B;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.2rem;
}
h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

.text-section {
  max-width: 720px;
}

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

/* ELEGANT NAV & HEADER */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(48,96,90,0.05);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  color: #22403B;
  padding: 6px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.25s;
}
header nav a:hover, header nav a:focus {
  color: #A67D4B;
  border-bottom: 2px solid #A67D4B;
}

.cta-primary {
  display: inline-block;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  background: #30605A;
  color: #fff;
  border-radius: 26px;
  padding: 12px 36px;
  border: none;
  margin-left: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(48,96,90,0.07);
  font-weight: 700;
  transition: background 0.22s, color 0.22s, box-shadow 0.17s;
  text-decoration: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #22403B;
  color: #FFDCAA;
  box-shadow: 0 5px 18px rgba(166,125,75,0.09);
}

/* HERO */
.hero {
  background: #F3F3F0;
  padding-top: 44px;
  padding-bottom: 44px;
  margin-bottom: 36px;
  box-shadow: 0 1px 6px rgba(48,96,90,0.04);
  border-bottom: 1px solid #e5e3df;
}
.hero h1 {
  color: #22403B;
  font-size: 2.7rem;
}
.hero p {
  font-family: 'Georgia', serif;
  font-size: 20px;
  color: #2C4845;
  margin-bottom: 24px;
}
.hero .cta-primary {
  margin-top: 12px;
}

/* FLEX CARDS, CONTENT GRID, ETC. */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(48,96,90,0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  flex: 1 1 300px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(48,96,90,0.12);
  transform: translateY(-4px) scale(1.015);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  box-shadow: 0 2px 13px rgba(48,96,90,0.07);
  border-radius: 14px;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #A67D4B;
  max-width: 650px;
  transition: box-shadow 0.15s, border-color 0.2s;
}
.testimonial-card p {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.18rem;
  color: #22403B;
  margin-bottom: 6px;
  font-style: italic;
}
.testimonial-card span {
  color: #A67D4B;
  font-size: 1rem;
  margin-left: 4px;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(166,125,75,0.08);
  border-left-color: #30605A;
}

/* LISTS, BULLETS - MUTE COLORS  */
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
ul li, ol li {
  color: #2C4845;
  font-size: 16px;
  margin-bottom: 6px;
}

/* FOOTER */
footer {
  background: #30605A;
  color: #fff;
  padding: 48px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 150px;
}
.footer-navigation a {
  color: #FFDCAA;
  text-decoration: none;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  transition: color 0.18s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #fff;
}
.footer-brand {
  flex: 0 0 100px;
  align-self: flex-start;
}
.footer-contact-short {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 15px;
  color: #e5e3df;
  flex: 1 1 160px;
}
.footer-contact-short a {
  color: #FFDCAA;
  text-decoration: underline;
}
.footer-contact-short a:hover {
  color: #fff;
}
.footer-legal {
  display: flex;
  gap: 14px;
  font-size: 13.5px;
  flex: 1 1 180px;
  margin-top: 18px;
}
.footer-legal a {
  color: #DDD6B6;
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
  color: #fff;
}

/* MOBILE MENU STYLES & INTERACTION */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #22403B;
  position: absolute;
  right: 22px;
  top: 14px;
  cursor: pointer;
  z-index: 1003;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #A67D4B;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #F3F3F0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 88vw;
  max-width: 340px;
  z-index: 2000;
  padding: 32px 18px 24px 18px;
  box-shadow: 2px 0 20px rgba(48,96,90,0.13);
  transform: translateX(-110%);
  transition: transform 0.37s cubic-bezier(.42,0,.22,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #22403B;
  font-size: 2.1rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #A67D4B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.mobile-nav a {
  color: #22403B;
  text-decoration: none;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 10px 0 12px 4px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EDDDD2;
  color: #A67D4B;
  outline: none;
}

/* Hide desktop nav on mobile */
@media (max-width: 980px) {
  header .container nav,
  header .container .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hide mobile menu on desktop */
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FLEX LAYOUTS: CONTENT ADJUSTMENTS */
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper, .text-section, .footer-navigation, .footer-contact-short, .footer-brand, .footer-legal {
    max-width: 100%;
  }
  .content-grid,
  .card-container,
  .footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  header .container {
    flex-direction: row;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 30px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  h3 {
    font-size: 1.12rem;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 11px 22px;
  }
  header .container a img {
    max-height: 33px;
  }
  .footer-contact-short span {
    font-size: 13.5px;
  }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #22403B;
  box-shadow: 0 -1px 16px rgba(48,96,90,0.08);
  border-top: 2px solid #A67D4B;
  padding: 24px 20px 20px 20px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2600;
  gap: 18px;
  transition: transform 0.33s cubic-bezier(.62,-0.02,.7,1.01), opacity 0.3s;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner.active {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.cookie-consent-banner button {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  border-radius: 16px;
  background: #F3F3F0;
  padding: 9px 22px;
  border: 1.5px solid #A67D4B;
  color: #22403B;
  margin-right: 7px;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, border-color 0.16s;
}
.cookie-consent-banner button.cookie-accept-all {
  background: #22403B;
  color: #fff;
  border: 1.5px solid #22403B;
}
.cookie-consent-banner button.cookie-accept-all:hover,
.cookie-consent-banner button.cookie-accept-all:focus {
  background: #30605A;
  color: #FFDCAA;
}
.cookie-consent-banner button.cookie-reject-all {
  background: #fff;
  border-color: #A67D4B;
  color: #A67D4B;
}
.cookie-consent-banner button.cookie-reject-all:hover,
.cookie-consent-banner button.cookie-reject-all:focus {
  background: #F3F3F0;
  color: #30605A;
  border-color: #30605A;
}
.cookie-consent-banner button.cookie-settings {
  background: #fff;
  color: #22403B;
  border-color: #A67D4B;
}
.cookie-consent-banner button.cookie-settings:hover,
.cookie-consent-banner button.cookie-settings:focus {
  background: #F3F3F0;
  color: #A67D4B;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2700;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,64,59,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-preference-modal {
  background: #fff;
  color: #22403B;
  max-width: 425px;
  width: 96vw;
  border-radius: 18px;
  box-shadow: 0 8px 36px rgba(34,64,59,0.20);
  padding: 30px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.26s cubic-bezier(.58,.22,.68,1.06), opacity 0.22s;
}
.cookie-modal-overlay.active .cookie-preference-modal {
  transform: translateY(0px);
  opacity: 1;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  color: #A67D4B;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-preference-modal h2, .cookie-preference-modal h3 {
  font-size: 1.2rem;
  color: #22403B;
  margin-bottom: 8px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #22403B;
}
.cookie-category input[type="checkbox"] {
  accent-color: #30605A;
  width: 18px;
  height: 18px;
}
.cookie-category .essential {
  color: #A67D4B !important;
  font-style: italic;
}

.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal-actions button {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  border-radius: 15px;
  background: #22403B;
  color: #fff;
  border: none;
  padding: 8px 19px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal-actions button.cancel {
  background: #F3F3F0;
  color: #22403B;
  border: 1px solid #A67D4B;
}
.cookie-modal-actions button.cancel:hover {
  background: #fff7ea;
  color: #A67D4B;
}
.cookie-modal-actions button.save:hover {
  background: #30605A;
  color: #FFDCAA;
}

/* Transitions & Microinteractions */
button, .cta-primary, a {
  transition: color 0.16s, background 0.18s, border-color 0.18s, box-shadow 0.13s, opacity 0.17s;
}

/* SHADOWS & BORDERS */
.card, .testimonial-card, .cookie-preference-modal {
  box-shadow: 0 2px 10px rgba(34,64,59,0.07);
  border-radius: 12px;
}

/* Elegant rounded corners for cards & containers */
.card, .testimonial-card, .cookie-preference-modal, .footer-brand img {
  border-radius: 14px;
}

/* RESPONSIVE SPACING */
@media (max-width: 440px) {
  .cookie-preference-modal {
    padding: 16px 7px 12px 7px;
    max-width: 99vw;
  }
}

/* Accessibility: Focus Outlines */
button:focus, .cta-primary:focus, a:focus {
  outline: 2px solid #A67D4B;
  outline-offset: 2px;
}

/* ADJUSTMENTS FOR CONTENT-HEAVY SECTIONS */
.section ul,
.section ol {
  margin-bottom: 16px;
}
.section ul li,
.section ol li {
  font-size: 16.5px;
  color: #375852;
}

/* Prevent overlaps and ensure spacing everywhere */
.content-wrapper > * + * {
  margin-top: 14px;
}

/* ENFORCE CRITICAL LAYOUT CLASSES */
.section { margin-bottom: 60px; padding: 40px 20px; }
.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 { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Clamp line to avoid overflow */
.text-section p, .text-section ul, .text-section ol {
  word-break: break-word;
}

/* ========================= */
/*  END   DOMOV V MALÉM CSS */
/* ========================= */
