/* ----------------------------------
   RESET & BASIC 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f8faf8;
  color: #24382a;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #225d36;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #c7a323;
  outline: none;
}
ul, ol {
  list-style: disc inside;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #dde0dd;
}
th {
  background: #e6f1e8;
  font-weight: 700;
  font-size: 1rem;
}

/* -------------------------------------------
   FONTS & TYPOGRAPHY
------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600;700&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: linear-gradient(135deg, #e6f1e8 0%, #ffffff 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #225d36;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.13;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.2rem;
  color: #24382a;
  font-weight: 400;
  margin-bottom: 24px;
}
strong {
  font-weight: 700;
  color: #225d36;
}
em {
  font-style: italic;
}
p, li {
  font-size: 1rem;
  line-height: 1.6;
}

/* -------------------------------------------
   BRAND VARIABLES (hard-coded for fallback)
------------------------------------------- */
:root {
  --primary: #225d36;
  --secondary: #e6f1e8;
  --accent: #c7a323;
  --white: #fff;
  --black: #18271a;
  --body-bg: #f8faf8;
  --card-bg: #fff;
  --gradient-main: linear-gradient(90deg, #e6f1e8 0%, #d7edd9 100%);
  --gradient-accent: linear-gradient(90deg, #c7a323 0%, #f7e9b1 100%);
  --box-shadow: 0 2px 20px rgba(34, 93, 54, 0.08), 0 1.5px 3.5px rgba(34, 93, 54, 0.06);
  --radius: 14px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* -------------------------------------------
   CONTAINER & LAYOUT
------------------------------------------- */
.container {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gradient-main);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  transition: box-shadow 0.25s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* -------------------------------------------
   HEADER & NAVIGATION
------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(34, 93, 54, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  max-height: 46px;
}

nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  color: #225d36;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 8px 2px;
  border-radius: 6px;
  transition: background 0.18s, color 0.17s;
  font-size: 1rem;
}
nav a:hover, nav a:focus {
  background: #e6f1e8;
  color: #a07600;
  outline: none;
}
.btn-primary {
  font-family: var(--font-display);
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 13px 31px;
  cursor: pointer;
  font-size: 1.14rem;
  box-shadow: 0 2px 8px rgba(199, 163, 35, 0.10);
  transition: box-shadow 0.17s, transform 0.14s, background 0.16s;
  margin-left: 20px;
  line-height: 1.2;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #e0b900 0%, #bfa321 100%);
  color: #fff;
  box-shadow: 0 5px 18px rgba(199, 163, 35, 0.14);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

.mobile-menu-toggle {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  display: none;
  border-radius: 8px;
  padding: 3px 14px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.12s;
}

.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #d7edd9;
  color: #a07600;
  outline: none;
}

/* MOBILE MENU & SLIDE-IN NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34, 93, 54, 0.89);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  align-self: flex-end;
  padding: 16px 30px 12px 0;
  cursor: pointer;
  transition: color 0.14s;
  z-index: 910;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #c7a323;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 24px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.21rem;
  border: none;
  background: none;
  padding: 6px 0;
  transition: color 0.14s, background 0.14s;
  border-radius: 5px;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e6f1e8;
  color: #225d36;
  outline: none;
}

/* -------------------------------------------
   MAIN SECTIONS
------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gradient-main);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section, .text-image-section {
  background: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 36px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 32px 20px 28px 20px;
  min-width: 220px;
  flex: 1 0 270px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 28px rgba(34, 93, 54, 0.14);
  transform: scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-left: 7px solid #225d36;
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(34, 93, 54, 0.07);
  margin-bottom: 24px;
  padding: 20px 22px 16px 26px;
  transition: box-shadow 0.17s;
  color: #24382a;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #225d36;
  line-height: 1.4;
  margin-bottom: 6px;
}
.testimonial-card > div {
  font-size: 1rem;
  color: #24382a;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  color: #24382a;
  margin-top: 8px;
}

@media (min-width: 700px) {
  .footer-contact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px;
  }
}


/* -------------------------------------------
   CARDS, TABLES, FAQ
------------------------------------------- */
.card ul, .text-section ul {
  padding-left: 24px;
  margin-bottom: 8px;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card li, .text-section li {
  font-size: 1rem;
}

.faq-accordion h3 {
  font-family: var(--font-display);
  font-weight: 700;
  background: #e6f1e8;
  color: #225d36;
  padding: 8px 16px;
  margin-bottom: 0;
  border-radius: 8px;
  font-size: 1.11rem;
  transition: background 0.12s;
}
.faq-accordion p {
  padding-left: 18px;
  margin-bottom: 10px;
  margin-top: 3px;
}

/* Table style */
table {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(34, 93, 54, 0.07);
  overflow: hidden;
  margin: 12px 0 24px 0;
}
tr:last-child td {
  border-bottom: none;
}

/* -------------------------------------------
   FOOTER
------------------------------------------- */
footer {
  width: 100%;
  background: linear-gradient(90deg, #e6f1e8 0%, #e0e6d5 100%);
  padding: 32px 0 22px 0;
  margin-top: 30px;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -2px 10px rgba(34, 93, 54, 0.07);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #225d36;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 0px;
}
footer nav a:hover, footer nav a:focus {
  color: #a07600;
  background: none;
}
footer img {
  max-height: 40px;
}

@media (max-width: 900px) {
  .container, footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer .container {
    gap: 18px;
  }
}

/* -------------------------------------------
   SPACING, FLEX PATTERNS & MARGINS
------------------------------------------- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  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;
}
.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;
}

/* Ensure minimum 20px margins between cards/sections on all screens */
section, .card, .testimonial-card, .content-wrapper, .feature-item {
  margin-bottom: 20px;
}

/* -------------------------------------------
   TRANSITIONS & MICRO-INTERACTIONS
------------------------------------------- */
section, .card, .testimonial-card, .btn-primary {
  transition: box-shadow 0.18s, background 0.18s, transform 0.12s;
}

/* -------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------- */
@media (max-width: 1023px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container {
    max-width: 98vw;
  }
  .card {
    min-width: 180px;
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  .section, section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    padding: 17px 10px;
    font-size: 0.97rem;
  }
  .container, footer .container {
    padding-left: 8px;
    padding-right: 8px;
    gap: 10px;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    padding: 15px 8px 12px 8px;
    min-width: 85vw;
  }
  .faq-accordion h3 {
    font-size: 1.06rem;
    padding: 7px 10px;
  }
}

/* -------------------------------------------
   COOKIE CONSENT BANNER
------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #e6f1e8 0%, #d7edd9 100%);
  color: #225d36;
  font-size: 1rem;
  padding: 19px 26px 19px 20px;
  box-shadow: 0 -2px 18px rgba(34,93,54,0.13);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: transform 0.36s cubic-bezier(0.7,0,0.3,1), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0.15;
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 22px;
  cursor: pointer;
  background: #225d36;
  color: #fff;
  margin-right: 2px;
  transition: background 0.15s, color 0.13s, transform 0.13s;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #c7a323 0%, #d8be57 100%);
  color: #fff;
}
.cookie-btn.reject {
  background: #225d36;
}
.cookie-btn.settings {
  background: #e6f1e8;
  color: #225d36;
  border: 1px solid #99c9a1;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #d7edd9;
  color: #225d36;
  transform: scale(1.05);
  outline: none;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ae972b;
  color: #fff;
}

/* Cookie modal / popup */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(34,93,54, 0.21);
  z-index: 1102;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.33s cubic-bezier(0.7,0,0.3,1);
}
.cookie-modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: var(--white);
  color: #225d36;
  border-radius: var(--radius);
  box-shadow: 0 5px 28px rgba(34,93,54,0.20);
  max-width: 92vw;
  width: 390px;
  padding: 36px 34px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 1103;
  transform: translateY(34px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s, opacity 0.31s;
}
.cookie-modal-overlay.open .cookie-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.cookie-modal h3 {
  margin-bottom: -8px;
  font-size: 1.14rem;
  color: #225d36;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 3px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  accent-color: #225d36;
  width: 18px; height: 18px;
  border-radius: 5px;
}
.cookie-category .always-on {
  opacity: 0.6;
  font-size: 0.93rem;
  font-weight: 600;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  right: 23px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #a07600;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #225d36;
}

@media (max-width: 420px) {
  .cookie-modal {
    padding: 20px 10px 18px 8px;
    max-width: 98vw;
  }
  .cookie-modal-actions, .cookie-modal-categories {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }
}

/* -------------------------------------------
   MISC ELEMENTS & UTILITIES
------------------------------------------- */
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

hr {
  border: none;
  border-top: 1px solid #e9e9e9;
  margin: 18px 0 8px 0;
}

.hidden {
  display: none !important;
}

/* REMOVE OUTLINE FOR MOUSE USERS, KEEP FOR KEYBOARD */
:focus-visible {
  outline: 2px solid #c7a323;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* -------------------------------------------
   PRINT (BASIC)
------------------------------------------- */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
  }
  section, .section, .card, .testimonial-card {
    box-shadow: none;
    background: #fff;
  }
}

