/* ==== 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 {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  line-height: 1.6;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #25362C;
  background-color: #F3EAE0;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A6F43;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3EB97F;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}

/* ==== Typography Scale ==== */
h1 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: #1A6F43;
}
h2 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #1A6F43;
}
h3 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #25362C;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
}
p, li, a, span {
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  color: #384B3B;
}
.subheadline {
  font-size: 1.25rem;
  font-family: 'Roboto', 'Georgia', serif;
  letter-spacing: 0.01em;
  color: #384B3B;
  margin-bottom: 32px;
}

/* ==== Containers & General Layout ==== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== Header & Navigation ==== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(26, 111, 67, 0.07);
  border-bottom: 1px solid #ece6dc;
  padding-top: 12px;
  padding-bottom: 12px;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #1A6F43;
  padding: 6px 10px;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #3EB97F10;
  color: #3EB97F;
}
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #1A6F43;
  border-radius: 28px;
  padding: 11px 28px;
  border: none;
  box-shadow: 0 2px 10px rgba(26, 111, 67, 0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-left: 14px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #3EB97F;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(26,111,67,0.14);
}

/* ==== Responsive Header & Main Nav ==== */
@media (max-width: 992px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  .main-nav {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .main-nav, .btn-primary {
    display: none;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==== Hamburger Mobile Menu ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2002;
  width: 44px;
  height: 44px;
  background: #F3EAE0;
  color: #1A6F43;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(26, 111, 67, .07);
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ece6dc;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 24px rgba(26,111,67,.12);
  box-sizing: border-box;
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.53,0,.61,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 16px 0 0;
  background: none;
  color: #1A6F43;
  font-size: 2rem;
  border: none;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
  width: 100%;
  padding: 0 32px 32px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.15rem;
  color: #1A6F43;
  padding: 12px 0;
  transition: color 0.18s;
  border-bottom: 1px solid #ece6dc;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #3EB97F;
}

/* Overlay for mobile menu (optional, for enhanced UX) */
.mobile-menu-overlay {
  display: none;
}
.mobile-menu.open ~ .mobile-menu-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(37,54,44,0.32);
  z-index: 2999;
  display: block;
  animation: fadein .3s;
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ==== Hero Section ==== */
.hero {
  background: #F3EAE0 url('../assets/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  min-height: 325px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(26,111,67,0.06);
  border-radius: 0 0 32px 32px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 38px 0;
  background: rgba(255,255,255,0.90);
  border-radius: 22px;
  box-shadow: 0 6px 32px 0 rgba(26,111,67,0.08);
}
@media (max-width:600px) {
  .hero {
    min-height: 180px;
    border-radius: 0 0 18px 18px;
  }
  .hero .content-wrapper {
    padding: 22px 0;
    border-radius: 9px;
  }
}

/* ==== Features, Cards, and Grids ==== */
.features, .faq, .benefits, .tips-list, .howto-list, .expert-tips {
  /* spacing with inherited .section if present */
}
.feature-grid,
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 310px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px rgba(37,54,44,0.11);
  padding: 28px 20px 22px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.feature-item img {
  height: 52px;
  width: 52px;
  margin-bottom: 4px;
}
.feature-item:hover, .faq-item:hover {
  box-shadow: 0 8px 28px rgba(37,54,44,0.19);
  transform: translateY(-3px) scale(1.025);
}
.faq-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(26, 111, 67, 0.09);
  padding: 22px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.16s;
}

@media (max-width: 900px) {
  .feature-grid, .faq-list {
    gap: 14px;
  }
  .feature-item, .faq-item {
    min-width: 150px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .feature-grid, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* ==== Lists & Benefits ==== */
.benefit-list, .tips-list, .howto-list, .expert-tips {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}
.benefit-list li,
.tips-list li,
.howto-list li,
.expert-tips li,
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.02rem;
  color: #25362C;
  padding: 13px 0 13px 0;
  border-bottom: 1px solid #ece6dc;
}
.benefit-list li:last-child,
.tips-list li:last-child,
.howto-list li:last-child,
.text-section ul li:last-child {
  border-bottom: 0;
}
.benefit-list img, .text-section ul img {
  width: 28px; height: 28px;
}

/* ==== Testimonial Section ==== */
.testimonials {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(26,111,67,0.05);
}
.testimonials .content-wrapper {
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #F3EAE0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(37,54,44,0.13);
  padding: 20px 28px;
  color: #25362C;
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 300px;
  transition: box-shadow 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 7px 24px rgba(58,108,67,0.19);
}
.testimonial-author {
  font-family: "Montserrat", "Georgia", serif;
  font-weight: 500;
  font-size: 0.97rem;
  color: #1A6F43;
  margin-top: 7px;
}
@media (max-width: 600px) {
  .testimonial-list, .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 18px 16px;
  }
}

/* ==== Call To Action (CTA) ==== */
.cta {
  background: #1A6F43;
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 14px rgba(26,111,67,0.16);
  text-align: center;
  padding: 42px 24px;
  margin-bottom: 60px;
}
.cta h2 {
  color: #fff;
  margin-bottom: 21px;
}
.cta .btn-primary {
  margin-left: 0;
}

/* ==== Generic Text Content ==== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.text-section ul {
  padding-left: 18px;
}
.text-section .contact-details ul {
  gap: 7px;
}
.map {
  margin-top: 12px;
  background: #F3EAE0;
  border-radius: 10px;
  padding: 16px 12px;
  color: #1A6F43;
  font-size: 1.01rem;
  box-shadow: 0 1px 8px rgba(26,111,67,0.07);
  font-family: 'Roboto', serif;
}

/* ==== Section Flex Patterns ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(26, 111, 67, 0.10);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .cta {
    border-radius: 14px;
    padding: 22px 6px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== Footer ==== */
footer {
  background: #fff;
  border-top: 1px solid #ece6dc;
  padding-top: 28px;
  padding-bottom: 22px;
  box-shadow: 0 -2px 8px rgba(26, 111, 67, 0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #1A6F43;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  padding: 3px 6px;
  border-radius: 3px;
  transition: background 0.17s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #3EB97F10;
  color: #3EB97F;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a2978a;
  font-family: 'Roboto', serif;
  font-size: 0.99rem;
}
.brand-footer img {
  width: 34px;
  height: 34px;
}
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  footer .container {
    align-items: flex-start;
    gap: 14px;
  }
}

/* ==== Cookie Consent Banner & Modal ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #ece6dc;
  box-shadow: 0 -2px 10px rgba(26, 111, 67, 0.12);
  padding: 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  z-index: 3001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.37s;
}
.cookie-consent-banner.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-banner p {
  flex: 1 1 auto;
  font-size: 0.96rem;
  color: #2a3828;
}
.cookie-btn {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  padding: 7px 20px;
  margin-left: 10px;
  margin-bottom: 4px;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(26, 111, 67, 0.09);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cookie-btn.accept {
  background: #1A6F43;
  color: #fff;
  font-weight: 700;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #3EB97F;
  color: #fff;
}
.cookie-btn.reject {
  background: #ece6dc;
  color: #1A6F43;
  font-weight: 600;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #3EB97F10;
  color: #1A6F43;
}
.cookie-btn.settings {
  background: #F3EAE0;
  color: #25362C;
  font-weight: 600;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ece6dc;
}
@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    text-align: left;
    padding: 12px 7px;
  }
  .cookie-btn {
    margin-left: 0;
    margin-right: 6px;
  }
}

/* ---- Cookie Modal ---- */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0;left: 0;bottom: 0;right: 0;
  background: rgba(37,54,44,0.35);
  z-index: 4000;
  animation: fadein .25s;
}
#cookie-modal-overlay.open {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4001;
  transform: translate(-50%,-60%) scale(0.98);
  min-width: 295px;
  max-width: 96vw;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 56px rgba(26, 111, 67, 0.22);
  padding: 42px 30px 32px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.25s cubic-bezier(.44,.21,.51,1), opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-62%) scale(0.94);
}
.cookie-modal h2 {
  margin-bottom: 14px;
  color: #1A6F43;
}
.cookie-modal ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 18px;
}
.cookie-modal li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #25362C;
}
.cookie-modal label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-toggle {
  position: relative;
  width: 38px;
  height: 20px;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ece6dc;
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #1A6F43;
}
.cookie-toggle-slider:before {
  position: absolute;
  bottom: 2px; left: 2px;
  content: "";
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 2px rgba(37,54,44,0.14);
}
.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal .btn-primary {
  border-radius: 16px;
  padding: 7px 20px;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 22px 7px 18px 7px;
    border-radius: 14px;
    min-width: 175px;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 7px;
    width: 100%;
    align-items: stretch;
  }
}

/* ==== Animations & Interactions ==== */
.btn-primary, .cookie-btn, .feature-item, .faq-item, .testimonial-card {
  transition: box-shadow 0.18s, background 0.21s, color 0.16s, transform 0.18s;
}

/* ==== Utility Classes ==== */
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }

/* ==== Elegant Classic Details ==== */
body, .section, .feature-item, .faq-item, .testimonials, .benefits, .cta, .hero, .cookie-modal {
  /* This ensures calm, classic appearance */
  letter-spacing: 0.01em;
}

.section, section {
  border-radius: 24px;
  background: transparent;
}
@media (max-width: 500px) {
  .section, section {
    border-radius: 10px;
    padding: 20px 7px;
  }
}

/* ==== Focus Ring ==== */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #1A6F43;
  outline-offset: 2px;
}

/* ========== END ========== */
