/* CSS RESET & BASE TYPOGRAPHY --------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #F7F9F7;
  color: #24292E;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; height: auto; }
a {
  text-decoration: none;
  color: #365E36;
  transition: color 0.2s;
}
a:hover, a:focus { color: #FFCE70; outline: none; }
::selection { background: #FFCE70; color: #24292E; }

/* GEOMETRIC_STRUCTURE COLOR VARIABLES --------------------------- */
:root {
  --color-primary: #365E36;
  --color-secondary: #24292E;
  --color-accent: #FFCE70;
  --color-bg: #F7F9F7;
  --color-bg-card: #FFFFFF;
  --color-divider: #E3E7DF;
  --color-shadow: rgba(54, 94, 54, 0.1);
}

/* TYPOGRAPHY SCALE & HEADINGS --------------------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #24292E;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; text-transform: uppercase; }
h2 { font-size: 2rem; margin-bottom: 18px; text-transform: uppercase; }
h3 { font-size: 1.25rem; margin-bottom: 10px; text-transform: uppercase; }
h4 { font-size: 1.05rem; }
p, ul, ol, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 1.25em;
  color: #24292E;
}

blockquote {
  font-style: italic;
  color: #365E36;
  border-left: 4px solid #FFCE70;
  padding-left: 16px;
  margin-bottom: 0.5em;
}
cite {
  font-size: 0.95rem;
  color: #24292E;
  margin-top: 0;
  font-style: normal;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 1.25em;
  color: #24292E;
}
li {
  margin-bottom: 0.4em;
}

strong {
  font-weight: bold;
  color: #365E36;
}

/* CONTAINERS & FLEXBOX LAYOUTS --------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper, .features-grid, .services-list, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.features-grid, .services-list {
  justify-content: space-between;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { margin-bottom: 20px; position: relative; }
.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;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1.5px solid #E3E7DF;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 360px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS / CTA --------------------------- */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--color-primary);
  color: #FFF;
  padding: 12px 44px;
  border-radius: 32px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 18px;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.035);
}

/* HEADER/NAVIGATION --------------------------- */
header {
  width: 100%;
  background: #FFF;
  border-bottom: 2.5px solid #E3E7DF;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0 22px;
  height: 74px;
  z-index: 100;
  position: sticky;
  top: 0;
  box-shadow: 0 4px 12px 0 rgba(54,94,54,0.04);
}
header > a img { height: 44px; margin-right: 32px; }
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-left: 12px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #24292E;
  font-size: 1rem;
  padding: 9px 12px 7px 12px;
  border-radius: 12px;
  transition: background 0.13s, color 0.13s;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFCE70;
  color: #24292E;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #FFF;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  padding: 5px 18px;
  margin-left: auto;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

/* MOBILE MENU ------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 1002;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #365E36;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.55,.2,.1,1), opacity 0.28s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #FFF;
  margin: 24px 28px 0 0;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  transition: color 0.13s;
  z-index: 1011;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #FFCE70; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.23rem;
  text-transform: uppercase;
  color: #FFF;
  padding: 14px 26px;
  border-radius: 12px;
  letter-spacing: 0.02em;
  background: transparent;
  width: 80vw;
  text-align: center;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFCE70;
  color: #24292E;
}

/* CATEGORY NAV (products) */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.category-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  background: #EFEFE7;
  color: #365E36;
  border-radius: 16px;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 9px 22px;
  transition: background 0.13s, color 0.13s;
  border: 1.5px solid #E3E7DF;
  letter-spacing: 0.01em;
}
.category-nav a:hover, .category-nav a:focus {
  background: #FFCE70;
  color: #24292E;
}

/* CARDS & FEATURES --------------------------- */
.features-grid > div, .services-list > div {
  background: var(--color-bg-card);
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1.5px solid #E3E7DF;
  padding: 24px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}
.features-grid img, .services-list img {
  height: 48px;
  width: 48px;
  margin-bottom: 10px;
}

/* TESTIMONIALS --------------------------- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
}
.testimonial-card {
  background: #FFF;
  box-shadow: 0 2px 8px var(--color-shadow);
  border-radius: 18px;
  border: 1.5px solid #E3E7DF;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 230px;
  max-width: 360px;
  padding: 20px;
}
.testimonial-card blockquote { margin-bottom: 8px; }
.testimonial-card cite { margin-top: 2px; font-weight: 500; color: #365E36; font-style: normal; }

/* CONTACT & MAP BOX --------------------------- */
.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  background: #FFF;
  border-radius: 18px;
  border: 1.5px solid #E3E7DF;
  padding: 24px;
  margin-bottom: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #EFEFE7;
  min-width: 230px;
  min-height: 120px;
  color: #365E36;
  font-size: 1.03rem;
  font-style: italic;
  text-align: center;
  padding: 16px;
}

/* FOOTER --------------------------- */
footer {
  width: 100%;
  background: #24292E;
  color: #EEE;
  margin-top: 80px;
  padding-top: 32px;
  box-shadow: 0 -2px 18px 0 rgba(54,94,54,0.07);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 2px solid #48514A;
}
.footer-top > div, .footer-nav, .footer-contact, .footer-legal {
  min-width: 200px;
  max-width: 325px;
  flex: 1 1 220px;
}
.footer-top img {
  margin-bottom: 18px;
  height: 36px;
}
.footer-nav h3, .footer-contact h3 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: #FFCE70;
}
.footer-nav ul, .footer-legal ul {
  list-style: none;
  padding: 0;
}
.footer-nav a, .footer-legal a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #FFCE70;
  font-size: 1rem;
  letter-spacing: 0.01em;
  display: block;
  padding: 4px 0;
  transition: color 0.12s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #FFF;
  text-decoration: underline;
}
.footer-contact address {
  font-style: normal;
  color: #EEE;
  margin-bottom: 7px;
  font-size: 0.99rem;
}
.footer-contact a {
  color: #FFCE70;
  transition: color 0.16s;
}
.footer-contact a:hover { color: #FFF; text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0 10px 0;
  background: transparent;
  color: #AAA;
  font-size: 0.99rem;
}

/* Cookie consent banner & MODAL --------------------------- */
.cookie-banner {
  position: fixed;
  z-index: 12000;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #24292E;
  color: #FFF;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  box-shadow: 0 -3px 22px 0 rgba(36,41,46,0.10);
  font-size: 1rem;
  gap: 18px;
  animation: cookieAppear 0.66s ease;
}
@keyframes cookieAppear {
  from { transform: translateY(68px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 0.97rem;
  padding: 9px 18px;
  border-radius: 12px;
  background: #FFCE70;
  color: #24292E;
  border: none;
  font-weight: 600;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, transform 0.13s;
}
.cookie-banner .cookie-btn.reject {
  background: #EFEFE7;
  color: #965014;
  margin-left: 0;
}
.cookie-banner .cookie-btn.settings {
  background: #365E36;
  color: #FFF;
}
.cookie-banner .cookie-btn:focus, .cookie-banner .cookie-btn:hover {
  background: #365E36;
  color: #FFCE70;
  transform: translateY(-2px) scale(1.05);
}

.cookie-modal {
  position: fixed;
  z-index: 13000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,41,46,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-dialog {
  background: #FFF;
  border-radius: 20px;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 8px 44px #24292E22;
  padding: 32px 26px 24px 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalOpen 0.38s cubic-bezier(.28,.97,.53,1.08);
}
@keyframes modalOpen {
  from { transform: scale(0.85) translateY(38px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-dialog h3 {
  color: #365E36;
  margin-bottom: 0;
  font-family: 'Montserrat', 'Open Sans', Arial;
  font-size: 1.26rem;
}
.cookie-modal-dialog label {
  display: flex;
  align-items: center;
  font-size: 1.03rem;
  margin-bottom: 7px;
  gap: 14px;
}
.cookie-modal-dialog input[type=checkbox] {
  accent-color: #365E36;
  width: 21px;
  height: 21px;
}
.cookie-modal-dialog .cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal-dialog .cookie-btn {
  padding: 9px 22px;
  background: #365E36;
  color: #FFF;
  border: none;
  font-size:1.06rem;
  border-radius: 14px;
}
.cookie-modal-dialog .cookie-btn.alt {
  background: #FFCE70;
  color: #24292E;
}

/* SECTIONS / GENERAL SPACING --------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:last-child {
  margin-bottom: 0;
}

/* PAGE-SPECIFIC UTILITIES --------------------------- */
.text-section {
  flex-direction: column;
  gap: 14px;
}
.services-list {
  gap: 24px;
  flex-wrap: wrap;
}
ol {
  padding-left: 24px;
  margin-bottom: 1.1em;
}
.cta-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* LISTS / OL / FAQ --------------------------- */
section ul, section ol { color: #24292E; }

/* Decorative angular line (geometric feel) */
hr {
  border: none;
  border-top: 4px solid #365E36;
  margin: 28px 0;
  width: 6rem;
  border-radius: 2px;
}

/* RESPONSIVE DESIGN --------------------------- */
@media (max-width: 1100px) {
  .footer-top {
    flex-wrap: wrap;
    gap: 36px 0px;
    justify-content: flex-start;
  }
}
@media (max-width: 991px) {
  .main-nav { gap: 16px; }
  .features-grid > div, .services-list > div, .testimonial-card, .card {
    min-width: 180px;
  }
  .footer-top > div, .footer-nav, .footer-contact, .footer-legal {
    min-width: 150px;
    max-width: 330px;
  }
}
@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 22px; }
}
@media (max-width: 768px) {
  header { flex-wrap: wrap; height: auto; padding: 0 6px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    padding: 10px 28px;
    font-size: 1rem;
    margin-left: 0;
  }
  .features-grid, .services-list, .testimonials, .content-wrapper, .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .footer-top > div, .footer-nav, .footer-contact, .footer-legal {
    min-width: 0;
  }
  .category-nav { flex-direction: column; gap: 10px; }
  .contact-box { flex-direction: column; gap: 18px; }
  .section {
    padding: 32px 6px;
    margin-bottom: 46px;
  }
  h1 { font-size: 1.57rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.08rem; }
}
@media (max-width: 530px) {
  body { font-size: 0.96rem; }
  .container { padding: 0 5px; }
  .footer-bottom { flex-direction: column; padding: 6px 0; font-size: 0.90rem; }
}

/* ACCESSIBILITY & INTERACTIVE STATES --------------------------- */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid #FFCE70;
  outline-offset: 1px;
}
button, .cta-btn, .cookie-btn {
  cursor: pointer;
}

/* MICRO-INTERACTIONS (Micro-shadows and hover effects) -------- */
.card, .features-grid > div, .services-list > div, .contact-box, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.13s, border 0.18s;
}
.card:hover, .features-grid > div:hover, .services-list > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px var(--color-shadow);
  border-color: #FFCE70;
  transform: translateY(-3px) scale(1.025);
}

/* GEOMETRIC STRUCTURED DESIGN DETAILS ------------------------ */
.features-grid > div, .services-list > div, .testimonial-card, .contact-box, .card {
  border-radius: 18px 18px 6px 18px;
  border-width: 2px;
  border-style: solid;
}

.section, section {
  background: var(--color-bg);
  border-radius: 24px 12px 24px 12px;
}

/* Hide visually but keep accessible */
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}
