/* 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, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1E9DC;
  color: #1B3C22;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-width: 320px;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(.77,0,.18,1);
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* BRAND GEOMETRIC STRUCTURED THEME */
:root {
  --color-primary: #2D5C39;
  --color-primary-dark: #1B3C22;
  --color-secondary: #F1E9DC;
  --color-secondary-light: #FFFFFF;
  --color-accent: #FC7A06;
  --color-accent-2: #FC943B; /* From brand's color (orange variant) */
  --color-dark: #232323;
  --color-grey: #DDD4C8;
  --color-card: #fff;
  --color-shadow: rgba(45,92,57,0.10);
}

body {
  background: var(--color-secondary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary-dark);
}
h1 {
  font-size: 2.75rem;
  line-height: 1.12;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}
h2 {
  font-size: 2rem;
  line-height: 1.22;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}
strong {
  font-weight: 700;
}
.text-section {
  margin-bottom: 16px;
}

/* CTAs & BUTTONS */
.cta-btn, .cookie-banner button, .cookie-modal-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  padding: 12px 32px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.055em;
  background: var(--color-accent);
  color: var(--color-secondary);
  border: none;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background .20s cubic-bezier(.77,0,.18,1), box-shadow .20s, color .20s;
  text-transform: uppercase;
  min-width: 164px;
  min-height: 44px;
}
.cta-btn:hover, .cookie-banner button:hover, .cookie-modal-actions button:hover {
  background: var(--color-accent-2);
  color: var(--color-dark);
  box-shadow: 0 6px 22px var(--color-shadow);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: var(--color-secondary-light);
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 1px 10px rgba(45,92,57,0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 22px;
}
header img {
  height: 46px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}
header nav a {
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:hover {
  background: var(--color-accent);
  color: #fff;
}
header .cta-btn {
  margin-left: 20px;
  background: var(--color-primary-dark);
  color: var(--color-secondary-light);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: 7px;
}
header .cta-btn:hover {
  background: var(--color-accent);
  color: var(--color-secondary-light);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-primary-dark);
  font-size: 2.2rem;
  margin-left: 12px;
  z-index: 1100;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  max-width: 390px;
  background: var(--color-secondary);
  box-shadow: -8px 0 32px var(--color-shadow);
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 36px 32px 28px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 12px;
  background: none;
  color: var(--color-primary-dark);
  font-size: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-secondary-light);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  border-radius: 5px;
  padding: 12px 0 12px 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary-light);
}

@media (max-width: 1140px) {
  header nav {
    gap: 16px;
  }
  .container {padding-left:12px;padding-right:12px;}
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(110deg, #F1E9DC 55%, #FFF6EB 100%);
  padding: 44px 0 60px 0;
  margin-bottom: 40px;
  border-bottom: 4px solid var(--color-primary-dark);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 730px;
  text-align: left;
}
.hero h1,
.hero p {
  color: var(--color-primary-dark);
}
.hero .cta-btn {
  margin-top: 12px;
}

/* SECTION SPACING PATTERNS */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FEATURES / CARDS / CONTENT LAYOUTS */
.features .content-wrapper,
.services .content-wrapper,
.about .content-wrapper,
.testimonials .content-wrapper,
.contact .content-wrapper,
.legal .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  width: 100%;
  justify-content: space-between;
  margin-top: 10px;
}
.feature-grid > div {
  flex: 1 1 250px;
  min-width: 210px;
  background: var(--color-card);
  border-radius: 10px;
  box-shadow: 0 2px 20px var(--color-shadow);
  padding: 32px 26px 26px 26px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2.5px solid var(--color-primary);
  transition: box-shadow 0.2s, border 0.2s;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px var(--color-shadow);
  border: 2.5px solid var(--color-accent);
}
.feature-grid img,
.feature-grid svg {
  width: 46px;
  height: 46px;
  background: var(--color-secondary);
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0 1px 6px var(--color-shadow);
  margin-bottom: 8px;
}

/* LISTS & OVERVIEW */
ul, .blog-list {
  list-style: none;
  padding: 0;
}
ul li, .blog-list li {
  margin-bottom: 11px;
  padding-left: 30px;
  position: relative;
  color: var(--color-primary-dark);
  font-weight: 500;
}
ul li::before, .blog-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 4px;
  transform: rotate(45deg);
}
.categories-overview {
  padding-top: 14px;
  font-size: 1.05rem;
  letter-spacing: 0.015em;
  color: var(--color-primary);
}

/* TESTIMONIALS */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: row;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 32px 18px 25px;
  background: var(--color-card);
  border-radius: 10px 37px 10px 24px;
  box-shadow: 0 4px 22px var(--color-shadow);
  margin-bottom: 20px;
  min-width: 234px;
  max-width: 350px;
  flex: 1 1 300px;
  border: 2px solid var(--color-accent);
  position: relative;
  transition: transform 0.26s cubic-bezier(.77,0,.18,1),box-shadow 0.16s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.033) skew(-2deg,-1deg);
  box-shadow: 0 10px 34px var(--color-shadow);
  border-color: var(--color-primary-dark);
}
.testimonial-card p {
  color: #232323;
  font-size: 1.04rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

/* CONTACT */
.contact .cta-btn {
  margin-top: 10px;
}
.contact-info {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info img {
  width: 19px;
  height: 19px;
  margin-right: 5px;
  vertical-align: middle;
}

/* FOOTER */
footer {
  background: var(--color-primary-dark);
  color: var(--color-secondary-light);
  padding: 38px 0 20px 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  box-shadow: 0 -1px 8px var(--color-shadow);
  margin-top: 52px;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
}
footer nav a {
  color: var(--color-secondary-light);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border-bottom: 2px solid transparent;
  padding: 0 3px 2px 3px;
  transition: border 0.15s, color 0.22s;
}
footer nav a:hover {
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-accent);
}
footer .contact-info {
  color: var(--color-secondary-light);
  font-size: 1rem;
}
footer .social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
footer .social-links a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #fff;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, box-shadow 0.18s;
  box-shadow: 0 1px 8px 0 var(--color-shadow);
}
footer .social-links a:hover {
  background: var(--color-accent);
}
footer .social-links img {
  width: 20px;
  height: 20px;
}

/* LEGAL */
.legal .content-wrapper {
  background: var(--color-card);
  border-radius: 13px;
  box-shadow: 0 2px 22px var(--color-shadow);
  padding: 36px 28px;
  margin-bottom: 42px;
}

/* BLOG */
.blog-list li {
  background: var(--color-card);
  border-radius: 8px 17px 7px 13px;
  padding: 18px 22px 16px 38px;
  margin-bottom: 20px;
  box-shadow: 0 1px 11px var(--color-shadow);
  transition: box-shadow 0.22s;
  min-width: 230px;
}
.blog-list li:hover {
  box-shadow: 0 7px 26px var(--color-shadow);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  header .container {
    height: 62px;
  }
  .hero {
    padding: 26px 0 26px 0;
  }
  .hero .content-wrapper {
    padding: 0 1px;
    text-align: center;
    align-items: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  section, .section {
    padding: 25px 6px;
    margin-bottom: 34px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 21px;
  }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    min-width: 80vw;
    max-width: 95vw;
    margin-bottom: 14px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  .cta-btn {
    font-size: 1rem;
    padding: 9px 14px;
  }
  .testimonial-card {
    padding: 15px 10px 12px 14px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid var(--color-primary-dark);
  color: var(--color-primary-dark);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  box-shadow: 0 -2px 15px var(--color-shadow);
  z-index: 2000;
  padding: 22px 16px 20px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .33s cubic-bezier(.77,0,.18,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 620px;
  flex: 1 1 200px;
  font-size: 1.04rem;
}
.cookie-banner button {
  font-size: 1.06rem;
  margin: 0 9px 0 0;
  padding: 9px 22px;
  border-radius: 5px;
}
.cookie-banner .accept {
  background: var(--color-primary-dark);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary-dark);
  transition: background 0.19s, color 0.19s;
}
.cookie-banner .reject:hover {
  background: var(--color-grey);
  color: var(--color-dark);
}
.cookie-banner .settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
}
.cookie-banner .settings:hover {
  background: var(--color-accent-2);
  color: var(--color-secondary-light);
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    padding: 18px 5px 12px 5px;
    font-size: 0.97rem;
  }
  .cookie-banner button {
    width: 100%;
    margin: 6px 0 0 0;
  }
}
/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,56,24,0.45);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  box-shadow: 0 2px 38px var(--color-shadow);
  border-radius: 21px 21px 9px 9px;
  max-width: 420px;
  width: 93vw;
  padding: 36px 30px 29px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal h2 {
  font-size: 1.37rem;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.05rem;
}
.cookie-modal .category-label {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-primary);
  border-radius: 5px;
  background: #fff;
  position: relative;
  cursor: pointer;
  margin-right: 7px;
}
.cookie-modal input[type="checkbox"]:checked {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-modal input[type="checkbox"]:checked:after {
  content: ''; display: block;
  width: 10px; height: 10px;
  position: absolute;
  left: 5px; top: 5px;
  background: #fff;
  border-radius: 2px;
}
.cookie-modal .category-essential {
  color: var(--color-primary);
  font-weight: bold;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.05rem;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  color: var(--color-primary-dark);
  font-size: 1.55rem;
  border-radius: 4px;
  transition: background 0.18s;
  width: 36px; height: 36px;
}
.cookie-modal-close:hover { background: var(--color-accent-2); color: #fff; }

/* MICRO-INTERACTIONS - SHADOWS, BORDERS, BUTTONS */
.button, .cta-btn {
  will-change: box-shadow, background;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover, .blog-list li:hover {
  box-shadow: 0 12px 36px var(--color-shadow);
}

/* LAYOUT ALIGNMENT CLASSES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
  }
}

/* FOCUS STATES FOR ACCESSIBILITY */
a:focus, button:focus, .cta-btn:focus, .cookie-banner button:focus {
  outline: 2.5px solid var(--color-accent-2);
  outline-offset: 2px;
}

/* Hide visually-invisible-only */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  top: auto;
}
