/* ====== 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #edf2e4;
  color: #232a1c;
  min-height: 100vh;
}
a {
  color: #246b47;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #165c8e;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #246b47;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 3px 24px 0 rgba(36,107,71,0.07);
}
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 12px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.text-section {
  background: rgba(237,242,228,0.45);
  border-radius: 24px;
  padding: 32px 20px;
  box-shadow: 0 2px 8px 0 rgba(36,107,71,0.03);
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(36,107,71,0.08);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 32px 0 rgba(36,107,71,0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 20px 20px;
  justify-content: center;
  align-items: flex-start;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f3f6eb;
  border-radius: 18px;
  box-shadow: 0 1px 6px 0 rgba(36,107,71,0.05);
  padding: 24px 18px 16px 18px;
  min-width: 160px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  background: #f4f7ea;
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(36,107,71,0.10);
  margin-bottom: 20px;
  max-width: 600px;
  color: #2b371a;
  font-weight: 500;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #2f4729;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #165c8e;
  font-size: 1rem;
  font-style: italic;
}

/* ======= MAIN NAVIGATION ======= */
header {
  background: #fff;
  box-shadow: 0 1px 16px 0 rgba(36,107,71,0.06);
  position: sticky;
  top: 0;
  z-index: 101;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
}
.main-nav > a img {
  height: 38px;
  margin-right: 18px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}
.main-nav ul li a {
  color: #246b47;
  padding: 8px 12px;
  border-radius: 9px;
  transition: background 0.16s, color 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus, .main-nav ul li.active a {
  color: #fff;
  background: #246b47;
}
.cta-button {
  background: #246b47;
  color: #fff;
  border-radius: 99px;
  border: none;
  padding: 12px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 2px 14px 0 rgba(36,107,71,0.08);
  letter-spacing: 0.03em;
  transition: background 0.24s, box-shadow 0.2s, color 0.19s;
  margin-left: 24px;
}
.cta-button:hover, .cta-button:focus {
  background: #165c8e;
  color: #fff;
  box-shadow: 0 4px 28px 0 rgba(36,107,71,0.14);
  outline: none;
}

/* ======= MOBILE MENU ======= */
.mobile-menu-toggle {
  display: none;
  background: #246b47;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 2.2rem;
  padding: 6px 16px;
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 110;
  box-shadow: 0 2px 8px 0 rgba(36,107,71,0.14);
  transition: background 0.16s, color 0.14s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #165c8e;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(36,107,71,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 9999;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.43,1.4,.45,1);
  box-shadow: 0 10px 44px 0 rgba(36,107,71,0.14);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  padding: 18px 28px 0 0;
  margin-bottom: 24px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding: 36px 26px 0 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 7px;
  padding: 10px 0;
  transition: background 0.18s, color 0.18s;
  display: block;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f3f6eb;
  color: #246b47;
}

@media (max-width: 1050px) {
  .main-nav {
    max-width: 100%;
    padding: 10px 4vw;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 12px;
    font-size: 1rem;
  }
  .cta-button {
    margin-left: 10px;
    padding: 12px 26px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .main-nav ul,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ====== HERO SECTIONS ====== */
section > .container {
  padding-top: 20px;
  padding-bottom: 20px;
}
section {
  background: #fff;
  border-radius: 36px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 3px 24px 0 rgba(36,107,71,0.07);
}

/* ====== LISTS & CONTENT FEATURE STYLES ====== */
ul li {
  margin-bottom: 12px;
  font-size: 1.08rem;
}
ul li strong {
  color: #246b47;
  font-weight: 600;
}
.feature-list,
section ul {
  padding-left: 0;
}
section ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ====== BUTTONS ====== */
button, .cta-button {
  cursor: pointer;
  outline: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.2s;
}

/* ====== ADDRESS BLOCK & MAP ====== */
.address-map {
  margin-top: 22px;
  background: #f4f7ea;
  border-radius: 16px;
  padding: 14px 18px;
  color: #246b47;
  font-size: 1rem;
}
.address-map strong {
  color: #165c8e;
}

/* ====== FOOTER ====== */
footer {
  background: #f3f6eb;
  padding: 48px 0 18px 0;
  border-top: 1.5px solid #e6e6d8;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
footer section {
  background: none;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0;
}
footer h3 {
  font-size: 1.18rem;
  color: #246b47;
  margin-bottom: 10px;
}
footer p, footer a {
  font-size: 1rem;
  color: #393e3a;
}
footer a:hover, footer a:focus {
  color: #165c8e;
  text-decoration: underline;
}
.footer-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu ul li a {
  color: #246b47;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
}
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #246b47;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  justify-content: center;
  transition: background 0.19s;
  box-shadow: 0 2px 7px 0 rgba(36,107,71,0.07);
}
.social-links a:hover, .social-links a:focus {
  background: #165c8e;
}
.social-links img {
  width: 24px;
  height: 24px;
  filter: brightness(92%) contrast(104%);
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #e7f8e1;
  color: #246b47;
  z-index: 99998;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -2px 24px 0 rgba(36,107,71,0.08);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  animation: slideUpBanner 0.48s cubic-bezier(.38, 1.1, .39, .99);
}
@keyframes slideUpBanner {
  from { transform: translateY(48px); opacity: 0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner button {
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  margin-left: 10px;
  margin-right: 6px;
  padding: 10px 26px;
  transition: background 0.12s, color 0.13s;
  box-shadow: 0 1px 6px 0 rgba(36,107,71,0.05);
}
.cookie-accept {
  background: #246b47;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus { background: #165c8e; color: #fff; }
.cookie-reject {
  background: #f3f6eb;
  color: #246b47;
  border: 1.2px solid #b2c9b7;
}
.cookie-reject:hover, .cookie-reject:focus { background: #fff; color: #246b47; }
.cookie-settings {
  background: #fff;
  color: #246b47;
  border: 1.2px solid #a5a118;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #eee8b5;
  color: #165c8e;
}
.cookie-banner-close {
  background: transparent;
  color: #393e3a;
  font-size: 1.5rem;
  border: none;
  margin-left: 16px;
  cursor: pointer;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 100010;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(26, 47, 19, 0.45);
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.23s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 24px;
  padding: 32px 40px 36px 40px;
  box-shadow: 0 8px 54px 0 rgba(36,107,71,0.11);
  text-align: left;
  max-width: 90vw;
  min-width: 320px;
  max-width: 410px;
  position: relative;
}
.cookie-modal-content h4 {
  margin-bottom: 14px;
  color: #246b47;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cookie-category label {
  color: #246b47;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #246b47;
  width: 20px;
  height: 20px;
}
.cookie-always-checked {
  font-style: italic;
  color: #8e947f;
  font-size: 0.95rem;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e7f8e1;
  color: #246b47;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #246b47;
  color: #fff;
}
.cookie-modal-footer {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-footer button {
  border-radius: 22px;
  padding: 8px 22px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #246b47;
  color: #fff;
  transition: background 0.16s;
}
.cookie-modal-footer button:hover, .cookie-modal-footer button:focus {
  background: #165c8e;
}

/* ======= ORGANIC SHAPES (DECORATIVE) ======= */
hr {
  border: none;
  border-top: 1px solid #bdd6bf;
  margin: 32px 0;
}

/* ======= MEDIA QUERIES & RESPONSIVENESS ====== */
@media (max-width: 1050px) {
  section {
    padding: 38px 10px;
  }
  .section {
    padding: 38px 12px;
  }
  .card-content {
    padding: 22px 12px 18px 12px;
  }
  .cookie-modal-content {
    padding: 22px 10vw 22px 10vw;
    min-width: 0;
  }
}
@media (max-width: 820px) {
  .content-wrapper {
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100vw;
    padding: 18px 13px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  section, .section {
    border-radius: 22px;
    margin-bottom: 38px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .content-wrapper,
  .text-section {
    padding: 18px 7px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.09rem; }
  .section {
    padding: 24px 4px;
    border-radius: 15px;
  }
  section {
    padding: 18px 4px;
    border-radius: 13px;
  }
  .card-content { padding: 12px 7px 12px 7px; }
  .feature-item {
    padding: 12px 8px 9px 8px;
    min-width: 120px;
    border-radius: 9px;
  }
  .testimonial-card { padding: 12px 7px; border-radius: 10px; }
  .address-map { padding: 10px 6px; border-radius: 8px; }
  footer .content-wrapper { padding: 0; }
  .mobile-menu {
    min-width: 0; width: 100vw; max-width: 100vw;
    padding-bottom: 18px;
  }
  .cookie-modal-content {
    padding: 18px 4vw 18px 4vw;
    max-width: 92vw;
    min-width: 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 19px 5px 13px 5px;
    font-size: 0.98rem;
  }
}
@media (max-width: 560px) {
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1.01rem; }
  .container { padding: 0 2px; }
  .cookie-modal-content {
    min-width: 0; max-width: 99vw; padding: 10px 2vw;
  }
}

/* FLEXBOX MOBILE COLUMN & DESKTOP ROWS IN FLEX CONTAINERS */
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .section, 
  .content-wrapper,
  .feature-list, 
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (min-width: 769px) {
  .content-grid,
  .card-container {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
  .features, .feature-list {
    flex-direction: row;
    gap: 18px 32px;
  }
  .text-image-section {
    flex-direction: row;
    gap: 30px;
    align-items: center;
  }
}

/* ======= VISUAL ORGANIC EFFECTS (SUBTLE) ====== */
section, .card, .testimonial-card, .feature-item, .address-map, .cookie-modal-content, .section {
  border-radius: 36px 12px 32px 18px/18px 24px 22px 36px;
  /* Mimic organic shapes with different corner radii */
}

/* ======= UTILITY CLASSES ======= */
.mt-1   { margin-top: 8px;  }
.mt-2   { margin-top: 16px; }
.mt-3   { margin-top: 24px; }
.mt-4   { margin-top: 32px; }
.mb-1   { margin-bottom: 8px;  }
.mb-2   { margin-bottom: 16px; }
.mb-3   { margin-bottom: 24px; }
.mb-4   { margin-bottom: 32px; }
.text-center { text-align: center !important; }

/* ====== SELECTION COLOR ====== */
::selection {
  background:#246b47; color: #fff;
}
::-moz-selection { background:#246b47; color: #fff; }

/* ====== FOCUS VISIBLE ====== */
a:focus-visible, button:focus-visible, .cta-button:focus-visible {
  outline: 2.5px solid #165c8e;
  outline-offset: 1.5px;
}

/* ====== CUSTOM SCROLLBAR ====== */
::-webkit-scrollbar { width: 10px; background: #f3f6eb; }
::-webkit-scrollbar-thumb { border-radius: 10px; background: #bdd6bf; }
::-webkit-scrollbar-thumb:hover { background: #246b47; }

/* ====== ANIMATION MICRO-INTERACTIONS ====== */
.cta-button, .cookie-banner button, .cookie-modal-footer button {
  transition: background 0.21s, color 0.21s, box-shadow 0.19s, transform 0.17s;
}
.cta-button:hover, .cta-button:active, .cookie-banner button:hover, .cookie-banner button:active {
  transform: translateY(-1px) scale(1.03);
}
.card, .testimonial-card, .feature-item {
  transition: box-shadow 0.21s, transform 0.14s;
  will-change: box-shadow, transform;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 6px 29px 0 rgba(36,107,71,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* ====== TYPOGRAPHY SCALE ====== */
body { font-size: 16px; }
@media (max-width: 820px) { body { font-size: 15px; } }
@media (max-width: 560px) { body { font-size: 14px; } }

/* ======= FORMS (Basic) ======= */
input, textarea, select {
  border: 1.3px solid #cadaad;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-top: 6px;
  margin-bottom: 12px;
  outline: none;
  background: #f7faf4;
  color: #246b47;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #165c8e;
}
label {
  color: #246b47;
  font-size: 1.04rem;
  margin-bottom: 3px;
  display: block;
}

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