/* ==== 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,
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 {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #FFFFFF;
  color: #355828;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style-position: inside;
}

a {
  color: #297059;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #436D38;
  text-decoration: underline;
}

strong {
  font-weight: bold;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* ==== BRAND-BASED COLORS & FONTS ==== */
:root {
  --primary: #436D38;
  --primary-dark: #355828;
  --secondary: #E3D8C1;
  --accent: #7FB29D;
  --accent-dark: #297059;
  --white: #fff;
  --black: #222;
  --neutral-bg: #f7f7f3;
  --shadow: 0 2px 8px rgba(67, 109, 56, 0.08);
  --radius: 16px;
  --radius-small: 8px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  color: var(--primary-dark);
  font-weight: 900;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

p, ul, ol {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.1rem;
  }
}

/* ==== BASIC CONTAINER ==== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 2px solid var(--secondary);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 20px;
}
.logo-link {
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-dark);
  padding: 6px 8px;
  border-radius: var(--radius-small);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--accent);
  color: var(--white);
}

.cta-btn {
  background: var(--primary);
  color: var(--white);
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  padding: 11px 28px 11px 20px;
  border-radius: 0 32px 32px 32px;
  border: none;
  letter-spacing: 1px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(67, 109, 56, 0.14);
  display: inline-block;
  position: relative;
  transition: background 0.2s, box-shadow 0.2s, transform 0.19s;
  margin-left: 16px;
}
.cta-btn::after {
  content: '';
  display: block;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  padding: 4px;
  height: 12px;
  width: 12px;
  border-radius: 1px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(47, 108, 72, 0.14);
  transform: translateY(-1px) scale(1.04);
}

@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    gap: 18px;
  }
  .main-nav {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .main-nav, .cta-btn {
    display: none;
  }
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 201;
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 2rem;
  border-radius: 10px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--white);
}

@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--neutral-bg);
  box-shadow: 0 0 0 100vw rgba(60, 90, 65, 0.10);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.74,0.25,0.24,1.12);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-close {
  background: var(--white);
  color: var(--primary-dark);
  font-size: 2.3rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  align-self: flex-end;
  margin: 20px 26px 0 0;
  transition: background 0.12s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--white);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--primary-dark);
  background: none;
  width: 100vw;
  text-align: center;
  padding: 16px 0;
  font-family: 'Merriweather', serif;
  border-radius: var(--radius-small);
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--white);
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== MAIN & SECTION SPACING ==== */
main {
  margin-top: 0;
  padding-bottom: 48px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 25px 9px;
    margin-bottom: 35px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ==== FLEXBOX GRIDS ==== */
.features-grid, .service-list, .card-container, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.feature-item, .service-item, .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 24px 20px 22px 20px;
  min-width: 210px;
  flex: 1 1 230px;
  position: relative;
  border-left: 6px solid var(--accent);
  transition: box-shadow 0.23s, border-color 0.2s;
}
.feature-item:hover, .service-item:hover, .card:hover {
  box-shadow: 0 6px 20px 0 rgba(67, 109, 56, 0.16);
  border-left-color: var(--primary);
}
.feature-item img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin-bottom: 7px;
}
.service-item span {
  color: var(--accent-dark);
  font-size: 0.91rem;
  margin-left: 6px;
}

@media (max-width: 900px) {
  .features-grid, .service-list, .card-container, .content-grid, .card-grid {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .features-grid, .service-list, .card-container, .content-grid, .card-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* ==== CARD, CONTENT & TESTIMONIALS ==== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--secondary);
  border-radius: 32px 12px 32px 12px;
  box-shadow: 0 2px 10px rgba(67, 109, 56, 0.09);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, background 0.15s;
}
.testimonial-card p {
  color: #273D1C;
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-meta {
  color: var(--primary);
  font-weight: bold;
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.testimonial-meta span {
  color: gold;
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px;
  }
}

/* ==== FLEX CONTENT GRIDS & TEXT/IMAGE SECTIONS ==== */
.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, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ==== LISTS ==== */
ul {
  list-style: disc inside;
  margin-bottom: 18px;
  margin-left: 8px;
}
li {
  margin-bottom: 0.6em;
  font-size: 1rem;
}

/* ==== FOOTER ==== */
footer {
  background: var(--secondary);
  padding: 34px 0 16px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 10px rgba(67, 109, 56, 0.06);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--accent-dark);
  font-family: 'Merriweather', serif;
  border-bottom: 2px solid transparent;
  transition: border 0.16s, color 0.15s;
}
.footer-nav a:hover {
  border-bottom: 2px solid var(--accent-dark);
  color: var(--primary);
}
footer p {
  font-size: 0.98rem;
  color: var(--primary-dark);
}
@media (max-width: 600px) {
  .footer-nav {
    gap: 12px;
    font-size: 0.91rem;
  }
  footer {
    padding: 18px 0 9px 0;
  }
}

/* ==== BUTTONS ==== */
button, .btn, .cta-btn {
  font-family: 'Merriweather', serif;
  border-radius: var(--radius-small);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.19s;
}
.btn {
  background: var(--accent);
  color: var(--white);
  padding: 11px 25px;
  font-size: 1rem;
  font-weight: bold;
  margin: 0 8px 0 0;
  box-shadow: var(--shadow);
}
.btn:hover,
.btn:focus {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px) scale(1.04);
}

/* ==== COOKIE BANNER & MODAL ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--secondary);
  box-shadow: 0 -4px 20px rgba(67,109,56,0.12);
  z-index: 1001;
  padding: 27px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.74,0.18,0.23,1);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner .actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: var(--radius-small);
  font-size: 1rem;
  font-family: 'Merriweather', serif;
  padding: 7px 20px;
  color: var(--white);
  background: var(--primary);
  font-weight: bold;
  border: none;
  box-shadow: var(--shadow);
  transition: background 0.19s;
  margin: 0 3px;
}
.cookie-banner .cookie-banner-settings {
  background: var(--accent);
  color: var(--white);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--accent-dark);
}

.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(67,109,56,0.22);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--neutral-bg);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(47, 108, 72, 0.23);
  min-width: 343px;
  max-width: 95vw;
  padding: 34px 34px 28px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 18px 9px 17px 9px;
    min-width: unset;
  }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.14s,color 0.14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--primary-dark);
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.cookie-category {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 11px 14px;
  margin-bottom: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category label {
  flex: 1;
  font-weight: bold;
  font-size: 1.01rem;
  color: var(--primary-dark);
}
.cookie-category input[type='checkbox'] {
  width: 24px;
  height: 24px;
  accent-color: var(--primary);
}
.cookie-category input[disabled] {
  filter: grayscale(1);
  opacity: 0.7;
  accent-color: var(--secondary);
}

/* ==== GEOMETRIC STRUCTURED DECORATION ==== */
section {
  position: relative;
  /* Slight geometric angle at section top using a custom shape */
  overflow: visible;
}
section::before {
  content: '';
  display: block;
  position: absolute;
  top: -20px;
  left: 0;
  width: 90px;
  height: 20px;
  border-radius: 0 60px 0 0;
  background: var(--accent);
  opacity: 0.13;
  z-index: 0;
}
@media (max-width: 600px) {
  section::before {
    width: 45px;
    height: 12px;
  }
}

.content-wrapper, .card-container, .features-grid, .service-list {
  z-index: 1;
  position: relative;
}

/* ==== ANIMATIONS & TRANSITIONS ==== */
.cta-btn, .btn, button, .feature-item, .service-item, .card, .testimonial-card, .cookie-banner, .cookie-banner button, .cookie-modal, .cookie-modal-close {
  will-change: transform, background, box-shadow;
}

/* Subtle scale fade-in for cards */
@media (prefers-reduced-motion: no-preference) {
  .feature-item, .service-item, .testimonial-card, .card {
    animation: geometric-fadein 0.7s cubic-bezier(.23,1.18,.84,.94);
  }
  @keyframes geometric-fadein {
    0% {
      opacity: 0;
      transform: scale(0.97) translateY(18px);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
}

/* ==== FORMS (newsletter/inputs) ==== */
input, textarea, select {
  border: 2px solid var(--secondary);
  border-radius: var(--radius-small);
  padding: 10px 15px;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border 0.18s, box-shadow 0.17s;
  margin-bottom: 13px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--accent-dark);
  outline: none;
  box-shadow: 0 0 0 1px var(--accent-dark);
}

/* ==== MISCELLANEOUS ==== */
::selection {
  background: var(--accent);
  color: var(--white);
}

hr {
  border: none;
  border-top: 2px dashed var(--accent);
  margin: 30px 0;
}

/* ==== TYPOGRAPHY GEOMETRIC STRUCTURED ==== */
h1, h2, h3 {
  text-transform: none;
  font-feature-settings: "tnum" on, "lnum" on;
  /* geometric: even numbers/letters */
}
h1 {
  letter-spacing: -1px;
  word-spacing: 0.1em;
}
@media (max-width: 480px) {
  h1, h2, h3 {
    font-size: 1.15rem;
    letter-spacing: 0;
  }
}

/* ==== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--white);
  color: var(--primary-dark);
  z-index: 10000;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: var(--radius-small);
  border: 2px solid var(--accent-dark);
}

/* ==== UTILITIES ==== */
.hide-desktop {
  display: none !important;
}
@media (max-width: 900px) {
  .hide-mobile {
    display: none !important;
  }
  .hide-desktop {
    display: block !important;
  }
}

/* ==== OVERRIDES FOR EDGE CASES (ERROR/THANK YOU) ==== */
.thank-you-section {
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ==== RESPONSIVE ADJUSTMENTS ==== */
@media (max-width: 700px) {
  .container {
    padding: 0 5px;
    max-width: 100vw;
  }
  .content-wrapper, .card, .testimonial-card, .feature-item, .service-item {
    padding-left: 7px;
    padding-right: 7px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}

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