/* --- 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, hgroup, main, 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; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #183725;
  background: #F1F6F1; /* soft background for nature style */
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: #195B38; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #A48836; }
ul, ol { margin-left: 1.5em; margin-bottom: 1em; }
strong { font-weight: 700; }

/* --- BRAND FONTS IMPORT (fallback for local use) --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --color-primary: #195B38;
  --color-secondary: #F1F6F1;
  --color-accent: #A48836;
  --color-accent-alt: #C2A54C;
  --color-bg-card: #fff;
  --color-bg-organic: #f6f3e7;
  --color-border: #E1E3D9;
  --color-text: #183725;
  --color-text-light: #4E6655;
  --shadow-card: 0 2px 16px 0 rgba(25,91,56,0.10);
  --shadow-hover: 0 4px 18px 0 rgba(25,91,56,0.12);
  --radius-strong: 24px;
  --radius-soft: 12px;
  --radius-btn: 24px;
  --container-max: 1100px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1rem; }
p, li, dd {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
.text-section h2, .text-section h3 { margin-top: 12px; }
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-primary);
  padding-left: 20px;
  border-left: 4px solid var(--color-accent);
  margin-bottom: 12px;
  background: rgba(241,246,241,0.4);
  border-radius: var(--radius-soft);
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-strong);
}
.text-section {
  padding: 8px 0;
  margin-bottom: 10px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: var(--color-bg-organic);
  box-shadow: 0 1px 6px 0 rgba(25,91,56,0.05);
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
header img[alt="Zelený Štít"] {
  height: 48px;
  width: auto;
  margin-right: 32px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-weight: 600;
  color: var(--color-primary);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Roboto Slab', serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 24px;
  box-shadow: var(--shadow-card);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  padding: 10px 28px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-btn);
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
  outline: none;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-primary);
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 16px;
  z-index: 1002;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--color-accent); }
.mobile-menu-toggle:hover {
  background: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(25,91,56,0.97);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 24px; right: 28px;
  cursor: pointer;
  z-index: 1002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 48px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 0;
  letter-spacing: 0.02em;
  border-radius: 8px;
  margin-right: 24px;
  transition: background 0.15s, color 0.15s;
  text-shadow: 0 1px 3px rgba(25,91,56,0.08);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* --- HERO SECTION / ORGANIC SHAPE --- */
.hero-section {
  background: linear-gradient(140deg, #F1F6F1 80%, #E8EDD4 100%);
  border-radius: 0 0 var(--radius-strong) var(--radius-strong);
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}
.hero-section .container {
  justify-content: center;
  align-items: center;
  min-height: 260px;
}
.hero-section h1 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.hero-section p {
  color: var(--color-text-light);
  font-size: 1.125rem;
  max-width: 520px;
  margin-bottom: 20px;
}
.hero-section .btn-primary {
  margin: 0;
}

/* --- SERVICES / FEATURE CARDS --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-item {
  background: var(--color-bg-card);
  border-radius: var(--radius-soft) var(--radius-strong) var(--radius-soft) var(--radius-soft);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.15s, transform 0.18s;
  border: 1.5px solid #e7ebde;
}
.service-item:hover,
.service-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.018);
  border-color: var(--color-accent);
}
.service-item h3 {
  margin-bottom: 8px;
}

.features-section ul, section ul, section ol {
  margin-left: 1.2em;
  margin-bottom: 16px;
  color: var(--color-text-light);
  font-size: 1.04rem;
  padding-left: 10px;
}
.features-section ul li,
section ul li, section ol li {
  margin-bottom: 10px;
  padding-left: 0.2em;
  line-height: 1.5;
}
.features-section ul li {
  list-style: disc inside;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  background: #FFF;
  border-radius: var(--radius-strong);
  box-shadow: var(--shadow-card);
  margin-bottom: 50px;
  padding: 32px 0;
}
.testimonials-section .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 28px 20px 20px;
  background: #F1F6F1;
  margin-bottom: 20px;
  border-radius: var(--radius-strong);
  box-shadow: 0 2px 8px 0 rgba(25,91,56,0.09);
  border: 1.2px solid #E1E3D9;
  min-width: 220px;
}
.testimonial-card blockquote {
  color: var(--color-primary);
  font-size: 1.07rem;
  line-height: 1.6;
  margin: 0 0 8px 0;
  border-left: 3.5px solid var(--color-accent-alt);
  background: transparent;
  padding-left: 14px;
}
.testimonial-author {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}

/* --- CTA & FOOTER --- */
.contact-cta-section, .cta-section, .thankyou-section {
  background: linear-gradient(140deg, #FFF 70%, #F1F6F1 100%);
  border-radius: var(--radius-strong);
  margin-bottom: 40px;
  padding: 40px 0;
  box-shadow: 0 1px 6px 0 rgba(25,91,56,0.07);
}
footer {
  background: #1B4634;
  color: #fff;
  width: 100%;
  padding: 0;
  box-shadow: 0 -1px 6px 0 rgba(25,91,56,0.07);
  margin-top: 30px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
footer nav a {
  color: #fff;
  opacity: 0.9;
  padding: 4px 8px;
  font-size: .98rem;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  background-color: var(--color-accent);
  color: var(--color-primary);
}
footer .text-section p { color: #fff; }

/* --- FAQ / LISTS / DT-DD --- */
dt {
  font-weight: bold;
  font-family: 'Roboto Slab', serif;
  color: var(--color-primary);
  font-size: 1.08rem;
  margin-top: 10px;
}
dd {
  margin-left: 16px;
  margin-bottom: 8px;
}

/* --- Cookie Consent Banner & Modal --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1B4634;
  color: #fff;
  width: 100%;
  z-index: 2000;
  box-shadow: 0 -2px 18px 0 rgba(25,91,56,0.18);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 18px 16px 18px 28px;
  gap: 28px;
  font-size: 1rem;
  animation: fadeInUp 0.7s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(100px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 auto;
  margin: 0;
  color: #fff;
}
.cookie-banner .cookie-btn {
  font-family:'Open Sans',sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  border: none;
  margin-left: 12px;
  padding: 8px 22px;
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .reject {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #fff;
  color: var(--color-primary);
}
.cookie-banner .settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #fff;
  color: var(--color-accent);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(25, 91, 56, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  transition: opacity 0.3s;
}
.cookie-modal {
  background: #fff;
  max-width: 420px;
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 rgba(25,91,56,0.17);
  padding: 40px 32px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInScale 0.33s;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.42rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px; height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .modal-btn {
  border-radius: var(--radius-btn);
  padding: 9px 24px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  font-family:'Open Sans',sans-serif;
  cursor: pointer;
  background: var(--color-accent);
  color: var(--color-primary);
  transition: background 0.17s, color 0.17s;
}
.cookie-modal .modal-btn.primary {
  background: var(--color-primary);
  color: #fff;
}
.cookie-modal .modal-btn.primary:hover,
.cookie-modal .modal-btn.primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-modal .modal-btn.secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-accent);
}
.cookie-modal .modal-btn.secondary:hover,
.cookie-modal .modal-btn.secondary:focus {
  background: var(--color-accent); color: var(--color-primary);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 20px;
  background: transparent;
  color: var(--color-primary);
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  z-index: 3;
}
.cookie-modal .close-modal:hover {
  color: var(--color-accent);
}

/* --- FLEX LAYOUTS / MANDATORY CLASSES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-soft) var(--radius-strong) var(--radius-soft) var(--radius-soft);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px;
  border: 1.5px solid #e7ebde;
  min-width: 200px;
  flex: 1 1 260px;
  transition: box-shadow 0.13s, border 0.13s;
}
.card:hover,
.card:focus-within {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}
.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;
  width: 100%;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 12px;
}

/* --- Various Supportive Classes --- */
.section {
  background: var(--color-bg-organic);
  border-radius: var(--radius-strong);
}
.thankyou-section {
  padding: 40px 0 60px 0;
  text-align: center;
}

/* --- ICONS IN LISTS (home) --- */
section ul li img {
  vertical-align: middle;
  margin-right: 10px;
  height: 24px;
  width: 24px;
  display: inline-block;
}
section ul li span {
  color: var(--color-accent);
  margin-left: 6px;
}

/* --- Responsive Styles (Mobile First) --- */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .service-list, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
  }
  header .container {
    flex-direction: row;
    padding: 12px 10px;
  }
  header nav, .btn-primary {
    display: none;
  }
  .hero-section .container {
    min-height: 168px;
  }
  .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 22px 10px;
    margin-bottom: 34px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 13px;
  }
  .contact-cta-section, .cta-section, .thankyou-section {
    padding: 32px 0;
  }
  .cookie-modal { padding: 24px 12px 15px 12px; }
  .features-section ul, section ul, section ol {
    margin-left: 0.6em;
  }
}
@media (max-width: 650px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .service-item, .card {
    padding: 15px 7px;
    min-width: 0;
    width: 100%;
  }
  .footer .container {
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 12px 6px 14px 8px;
    gap: 10px;
    align-items: flex-start;
  }
}
@media (max-width: 450px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.13rem; }
}

/* --- Accessibility Focus Styles --- */
a:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Subtle Animations & Microinteractions --- */
a, .btn-primary, .btn-secondary, .cookie-btn, .modal-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.card, .service-item, .testimonial-card {
  will-change: box-shadow, transform;
}
.card:hover, .service-item:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

/* --- Utility Classes --- */
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.gap-20 { gap: 20px; }

/* --- Custom Organic Shapes/Decor (example, for backgrounds) --- */
.organic-bg {
  background: radial-gradient(ellipse 75% 70% at 80% 14%, #E8EDD4 10%, #F1F6F1 76%);
  border-radius: var(--radius-strong);
}

/* --- Hide elements visually (for JS/Cookie/Modal toggles) --- */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* --- END --- */
