/* -------- CSS RESET & BASE -------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F4F7F4;
  color: #26321B;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #377E36;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7E6440;
}
strong {
  font-weight: bold;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}

/* -------- VARIABLES -------- */
:root {
  --color-primary: #183368;
  --color-secondary: #41B9EB;
  --color-accent: #D6EDD4;
  --color-bg: #F4F7F4;
  --color-green: #377E36;
  --color-brown: #7E6440;
  --color-muted: #748477;
  --color-darktext: #26321B;
  --color-light: #FCFCFC;
  --color-shadow: rgba(56, 79, 49, 0.05);
  --ff-display: 'Montserrat', Arial, sans-serif;
  --ff-body: 'Roboto', Arial, sans-serif;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 8px;
}

/* -------- UTILITY -------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  margin-bottom: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* -------- TYPOGRAPHY -------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  color: var(--color-primary);
}
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 9px;
}
p, ul, ol {
  font-size: 1rem;
  font-family: var(--ff-body);
  color: var(--color-darktext);
}
p.subtitle {
  font-size: 1.15rem;
  color: var(--color-primary);
  opacity: 0.9;
  margin-bottom: 16px;
}

/* -------- HEADER & NAVIGATION -------- */
header {
  background: var(--color-light);
  box-shadow: 0 2px 20px var(--color-shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
  background: none;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: var(--color-green);
}
.cta-btn {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #377E36 60%, #7E6440 100%);
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 6px 32px 0 rgba(56, 80, 40, 0.12);
  font-size: 1.13rem;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.22s, transform 0.15s, box-shadow 0.18s;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #4CB96A 40%, #B77D40 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 48px 0 rgba(56,79,49,0.16);
}

/* -------- MOBILE NAVIGATION -------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-green);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  z-index: 60;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(38,50,27,0.93);
  transform: translateX(-105vw);
  transition: transform 0.33s cubic-bezier(.5,1.8,.7,1),opacity 0.18s;
  z-index: 110;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 26px 0 0;
  cursor: pointer;
  z-index: 113;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: var(--ff-display);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 15px 5px 15px 0;
  width: 100%;
  transition: background 0.18s, color 0.18s;
  display: block;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-green);
}

@media (max-width: 1024px) {
  header .container {
    gap: 8px;
  }
  .cta-btn {
    margin-left: 8px;
    padding: 11px 18px;
    font-size: 1rem;
  }
  nav {
    gap: 10px;
  }
}
@media (max-width: 880px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* -------- HERO SECTION -------- */
.hero {
  background: var(--color-accent);
  background-image: url('../assets/decorative-leaves.svg');
  background-repeat: no-repeat;
  background-position: right top 20px;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: 0 10px 42px 0 rgba(85, 137, 90, 0.08);
  padding: 48px 0 40px 0;
  margin-bottom: 40px;
}
.hero .container {
  min-height: 280px;
  justify-content: center;
}
@media (max-width: 600px) {
  .hero {
    padding: 30px 0 24px 0;
    margin-bottom: 14px;
    border-radius: 0 0 16px 16px;
  }
}

/* -------- FEATURES & CARDS -------- */
.features, .feature-grid {
  display: flex;
  flex-direction: column;
}
.feature-grid {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}
.feature-item {
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: 0 3px 20px 0 rgba(72, 115, 75, 0.11);
  border: 2px solid var(--color-accent);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.15s, border-color 0.15s;
}
.feature-item img {
  height: 48px;
  width: 48px;
  filter: drop-shadow(0 3px 12px rgba(56, 126, 54, 0.11));
  margin-bottom: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  padding: 5px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 10px 38px 0 rgba(28,58,48,0.18);
  border-color: #B1E4A8;
  transform: translateY(-3px) scale(1.03);
}
.feature-item h3 {
  color: var(--color-green);
}

@media (max-width: 950px) {
  .feature-grid {
    gap: 14px;
  }
  .feature-item {
    min-width: 180px;
    padding: 19px 10px 15px 14px;
  }
}
@media (max-width: 650px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    width: 100%;
    min-width: 0;
    margin-bottom: 12px;
  }
}

/* -------- SECTIONS & CONTENT -------- */
section {
  background: none;
  border-radius: 0;
}
section:not(.hero):not(.cta) {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: 0 2px 19px 0 rgba(45,90,54,0.11);
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid var(--color-accent);
  transition: box-shadow 0.17s, border 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 9px 38px 0 rgba(45,94,54,0.15);
  border: 1.8px solid #B1E4A8;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -------- CTA SECTIONS -------- */
.cta {
  background: var(--color-green);
  background-image: url('../assets/decorative-leaf-bg.svg');
  background-repeat: no-repeat;
  background-position: right bottom;
  border-radius: var(--radius);
  padding: 42px 0 30px 0;
  margin-bottom: 30px;
  box-shadow: 0 5px 30px 0 rgba(38,50,27,0.08);
}
.cta .content-wrapper {
  align-items: center;
  gap: 16px;
}
.cta h2, .cta a {
  color: #fff !important;
}
.cta .cta-btn {
  margin-left: 0;
  margin-top: 14px;
  background: #fff;
  color: var(--color-green);
  border: 2px solid #FFF;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #4CB96A;
  color: #fff;
  border: 2px solid #fff;
}
@media (max-width: 768px) {
  .cta {
    padding: 30px 0 20px 0;
    border-radius: 14px;
  }
  .cta .content-wrapper {
    align-items: flex-start;
    text-align: left;
  }
}

/* -------- INSPIRATION/FACT LIST -------- */
.inspiration {
  background: #E4F3E2;
  border-radius: var(--radius-lg);
  padding: 32px 0 24px 0;
  margin-bottom: 46px;
  box-shadow: 0 1px 18px 0 rgba(76,125,74,0.10);
}
.inspiration ul {
  list-style-type: circle;
  color: var(--color-brown);
  margin-bottom: 18px;
  margin-left: 1.9em;
}
.inspiration li {
  margin-bottom: 9px;
  font-size: 1.09rem;
}

/* -------- FOOTER -------- */
footer {
  background: #234032;
  color: #fff;
  padding: 36px 0 12px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -2px 22px 0 rgba(67,97,61,0.11);
}
footer .container {
  flex-direction: column;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  align-items: center;
}
.footer-nav a {
  color: #E4F3E2;
  font-family: var(--ff-body);
  font-size: 1rem;
  opacity: 0.96;
  transition: color 0.17s, opacity 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B1E4A8;
  text-decoration: underline;
  opacity: 1;
}
.contact-info {
  display: flex;
  flex-direction: row;
  gap: 34px;
  flex-wrap: wrap;
  align-items: flex-start;
  font-size: 1rem;
  color: #E4F3E2;
}
.contact-info img {
  height: 22px;
  width: 22px;
  margin-right: 10px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 2px;
}
.copyright {
  margin-top: 22px;
  color: #B1E4A8;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .footer-nav, .contact-info {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  footer {
    padding: 22px 0 9px 0;
  }
}

/* -------- TESTIMONIALS -------- */
.testimonial-card {
  background: #FFF;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-shadow: 0 4px 32px 0 rgba(67,97,61,0.13);
  margin-bottom: 20px;
  color: #234032;
  border: 2px solid #D6EDD4;
  font-family: var(--ff-body);
  max-width: 600px;
  transition: box-shadow 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 38px 0 rgba(67,97,61,0.19);
}
.testimonial-card .author {
  font-weight: bold;
  color: #377E36;
  font-family: var(--ff-display);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  h1 { font-size: 1.45rem;}
  h2 { font-size: 1.15rem;}
  section, .section { padding: 20px 4px; }
  .inspiration { padding: 18px 0 14px 0; }
  .cta { padding: 18px 0 12px 0; }
}

/* -------- COOKIE CONSENT BANNER -------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #E4F3E2;
  color: #183368;
  box-shadow: 0 -2px 12px 0 var(--color-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 28px;
  z-index: 150;
  font-family: var(--ff-body);
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookie-banner-slide-in 0.35s cubic-bezier(.72,1.3,.4,.96);
}
@keyframes cookie-banner-slide-in {
  from { transform: translateY(150%);}
  to { transform: translateY(0);}
}
.cookie-banner .cookie-message {
  flex: 1 1 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-banner button {
  font-family: var(--ff-display);
  border-radius: 18px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 24px;
  cursor: pointer;
  margin: 0 0 0 8px;
  transition: background 0.19s, color 0.13s, box-shadow 0.17s;
}
.cookie-banner .cookie-accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-banner .cookie-accept:hover {
  background: #4CB96A;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  border: 1.5px solid var(--color-green);
  color: var(--color-green);
}
.cookie-banner .cookie-reject:hover {
  background: #F8E9C1;
  color: #7E6440;
}
.cookie-banner .cookie-settings {
  background: none;
  color: var(--color-brown);
  border: 0;
  padding: 10px 18px;
}
.cookie-banner .cookie-settings:hover {
  color: #377E36;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 8px 13px 8px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-actions { margin-top: 8px; }
}

/* -------- COOKIE MODAL -------- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 200;
  background: #F9FCEC;
  color: var(--color-darktext);
  padding: 34px 22px;
  border-radius: 22px;
  box-shadow: 0 10px 50px 0 rgba(38, 70, 34, 0.17);
  width: 95%;
  max-width: 410px;
  transform: translate(-50%, -50%) scale(1.05);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(.6,2,.6,.98), opacity 0.19s;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.00);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--color-green);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-weight: 500;
  color: var(--color-brown);
  font-size: 1.06em;
}
.cookie-category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: var(--color-green);
  border-radius: 6px;
  margin-right: 2px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .category-essential input {
  accent-color: #636e52;
}
.cookie-modal .category-essential label::after {
  content: " (vždy povoleno)";
  color: #8f937e;
  font-weight: normal;
  font-size: 0.97em;
  margin-left: 4px;
}
.cookie-modal .cookie-accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-modal .cookie-accept:hover {
  background: #4CB96A;
}
.cookie-modal .cookie-cancel {
  background: #fff;
  color: var(--color-green);
  border: 1.5px solid var(--color-green);
}
.cookie-modal .cookie-cancel:hover {
  background: #F8E9C1;
  color: #7E6440;
}
.cookie-modal .cookie-close {
  background: none;
  border: 0;
  color: #7E6440;
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.4rem;
  cursor: pointer;
}

/* -------- INTERACTIVE & MICROINTERACTION -------- */
button, .cta-btn {
  transition: background .18s, color .13s, box-shadow 0.16s, border 0.12s, transform .15s;
}
button:active, .cta-btn:active { transform: scale(0.96); }
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.20s, transform 0.18s;
  cursor: pointer;
}
.card:active, .feature-item:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* Decorative organic shapes (pill borders, blobs, etc.) */
.card, .feature-item, .testimonial-card {
  border-radius: 26px 18px 28px 22px/24px 21px 29px 17px;
}

/* Shadows & organic effects for nature feel */
.card, .feature-item, .testimonial-card {
  box-shadow: 0 3px 21px 0 rgba(72, 115, 75, 0.13);
}

/* Earth/nature-inspired backgrounds */
.hero, .inspiration, .cta {
  background-blend-mode: multiply;
}

/* Form controls styles (for contact and cookie modal) */
input[type='text'], input[type='email'], textarea {
  border: 1.8px solid var(--color-accent);
  font-family: var(--ff-body);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  width: 100%;
  margin-bottom: 16px;
  background: #F9FCF7;
  color: var(--color-darktext);
  transition: border 0.16s, box-shadow 0.13s;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  outline: 0;
  border: 2px solid #377E36;
  box-shadow: 0 2px 7px 0 #B1E4A8;
}

/* -------- ORGANIC/NATURE VISUAL ACCENTS -------- */
::-webkit-scrollbar { width: 11px; background: #E4F3E2; }
::-webkit-scrollbar-thumb { background: #B1E4A8; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #86D186; }

/* -------- SPECIAL STATES -------- */
[aria-current], nav a.active {
  background: #B1E4A8;
  color: var(--color-green) !important;
  font-weight: bold;
}

/* -------- PRINT -------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #222; }
}
