/* =======================================================
   CSS RESET & NORMALIZE
   ======================================================= */
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; border: 0; }
button, input, select, textarea { font: inherit; outline: none; }
body { min-height: 100vh; background: #F7F7F1; color: #234926; }

/* =======================================================
   FONT IMPORTS
   ======================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

:root {
  --primary: #234926;
  --secondary: #FFFFFF;
  --accent: #B86B00;
  --brand-dark: #234926;
  --brand-mid: #326A3B;
  --brand-light: #F7F7F1;
  --brand-accent: #B86B00;
  --brand-accent2: #E49E32;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 16px rgba(50, 105, 59, 0.10), 0 1.5px 6px rgba(37,74,48,.04);
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 40px;
  --shadow-card: 0 2px 8px rgba(50,105,59,.10), 0 1px 3px rgba(37,74,48,.09);
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: var(--brand-light);
  color: var(--brand-dark);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: var(--spacing-sm);
}
h1 { font-size: 2.6rem; letter-spacing: 0.02em; }
h2 { font-size: 2rem; margin-bottom: var(--spacing-md); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--brand-accent);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
  letter-spacing: 0.04em;
}

p, li {
  color: var(--brand-dark);
  font-size: 1rem;
}
ul, ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  list-style-position: outside;
}
li {
  margin-bottom: var(--spacing-xs);
}

/* =============================
   CONTAINERS & SECTION LAYOUTS
============================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: transparent;
}
.text-section {
  align-items: flex-start;
  gap: 16px;
}

/* Grid/Flex Patterns (flexbox only) */
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid .feature, .card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-lg) var(--spacing-md);
  flex: 1 1 260px;
  min-width: 240px;
  transition: box-shadow 0.28s cubic-bezier(.4,0,.2,1),transform 0.22s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2.5px solid #F2F2ED;
}
.features-grid .feature:hover, .card:hover {
  box-shadow: 0 6px 30px rgba(36,106,57,0.11),0 2px 8px rgba(184,107,0,.08);
  border-color: var(--brand-accent2);
  transform: translateY(-5px) scale(1.025);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 240px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  background: var(--secondary);
  transition: box-shadow 0.28s, border 0.24s;
  border: 2px solid #ededed;
}

.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;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(44,106,59,0.13);
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 260px;
  border: 2.5px solid #E8E9E3;
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #111b17;
  transition: box-shadow 0.24s, border 0.22s;
}
.testimonial-card p {
  color: #192412;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  text-align: left;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--brand-accent);
  align-self: flex-end;
  font-weight: 700;
  letter-spacing: .01em;
}
.testimonial-card:hover {
  box-shadow: 0 5px 26px rgba(36,106,57,0.14),0 2px 8px rgba(176,102,0,.08);
  border-color: var(--brand-accent2);
}

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

/* ==========================================
   MAIN NAVIGATION (DESKTOP & RESPONSIVE)
   ========================================== */
header {
  background: var(--brand-light);
  border-bottom: 2px solid #E4E6DE;
  box-shadow: 0 6px 32px rgba(44,106,59,.03);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  height: 72px;
  padding: 0 var(--spacing-lg);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.main-nav a {
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--brand-dark);
  transition: background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--brand-mid);
  color: var(--secondary);
}
.main-nav img {
  height: 42px;
  width: auto;
  margin-right: 10px;
  margin-bottom: 0;
}
.main-cta {
  margin-left: auto;
  background: var(--accent);
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 10px 22px;
  border-radius: 8px;
  transition: background 0.20s, color 0.2s, box-shadow 0.20s;
  box-shadow: 0 2px 8px rgba(184,107,0,.08);
  border: none;
}
.main-cta:hover {
  background: var(--brand-dark);
  color: var(--accent);
  box-shadow: 0 6px 32px rgba(36,106,59,0.09);
}

/* Burger button */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--brand-dark);
  border: 2px solid var(--brand-accent);
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1.8rem;
  align-self: center;
  margin-left: auto;
  margin-right: 14px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  z-index: 2020;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-accent2);
  color: var(--secondary);
  border-color: var(--brand-accent2);
}

/* ===============================
   MOBILE NAVIGATION
   =============================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f7f7f6f8;
  z-index: 2500;
  transform: translateX(-110%);
  transition: transform 0.35s cubic-bezier(.80,0,.28,1.05);
  box-shadow: 2px 0 20px rgba(36,106,59,.08);
  display: flex;
  flex-direction: column;
  padding: var(--spacing-lg) var(--spacing-md);
  gap: 45px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: var(--brand-accent);
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.2s, background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: var(--brand-dark);
  padding: 12px 0 12px 10px;
  border-left: 4px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: background 0.15s, border-color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--brand-accent2);
  color: var(--secondary);
  border-left: 4px solid var(--brand-accent);
}

@media (max-width: 1080px) {
  .main-nav {
    padding: 0 var(--spacing-md);
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: var(--spacing-sm);
    font-size: 0.98rem;
  }
  .features-grid .feature, .card {
    min-width: 45%;
    max-width: 48%;
  }
}
@media (max-width: 820px) {
  .container {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid .feature, .card {
    min-width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .section { padding: 28px 6px; }
  .container { padding-left: 2vw; padding-right: 2vw; }
  .content-wrapper { gap: 13px; }
  .main-cta { font-size: .95rem; padding: 9px 11px; }
}
@media (max-width: 375px) {
  .section { padding: 15px 2px; }
  .main-cta { font-size: .86rem; }
}

/* =====================================
   BUTTONS, CTAs, LINKS, MICRO-ACTION
   ===================================== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--accent);
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  border: none;
  border-radius: 11px;
  box-shadow: 0 1.5px 8px rgba(184,107,0,.08);
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
  margin-top: var(--spacing-sm);
  cursor: pointer;
  outline: none;
}
.cta:hover, .cta:focus {
  background: var(--brand-dark);
  color: var(--accent);
  box-shadow: 0 6px 38px rgba(36,106,59,0.10);
  transform: translateY(-3px) scale(1.038);
}
a.cta:active { transform: scale(.97); }

/* =============
   PRICING TABLE
   ============= */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: var(--spacing-lg) 0;
}
.pricing-plan {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2.5px solid #EAEAEA;
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
  min-width: 280px;
  flex: 1 1 260px;
  transition: box-shadow .20s, border-color 0.20s, transform .22s;
  display: flex;
  flex-direction: column;
}
.pricing-plan:hover {
  border-color: var(--brand-accent2);
  transform: translateY(-5px) scale(1.018);
  box-shadow: 0 8px 36px rgba(36,106,59,.13);
}
.pricing-plan h3 {
  font-size: 1.22rem;
  margin-bottom: var(--spacing-xs);
}
.price {
  color: var(--brand-accent);
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 13px 0 6px 0;
}

/* =========================
   CONTACT & INFO SECTIONS
   ========================= */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--spacing-sm);
  font-size: 1.06rem;
}
.contact-info-list a {
  color: var(--brand-accent);
  text-decoration: underline;
  transition: color 0.19s;
}
.contact-info-list a:hover {
  color: var(--primary);
}

/* ================
   TYPOGRAPHY, LISTS
   ================ */
.plain-list {
  padding-left: 0;
  margin-left: 0;
}
.plain-list li {
  list-style: none;
  margin-bottom: 11px;
  font-size: 1.04rem;
}

ul {
  list-style: disc;
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}
ol {
  list-style: decimal inside;
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

/* ============
   FOOTER
   ============ */
footer {
  background: var(--brand-dark);
  color: var(--secondary);
  padding: var(--spacing-lg) 0 0 0;
  margin-top: var(--spacing-lg);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}
.footer-nav a {
  color: var(--brand-accent2);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: var(--spacing-sm) 0 var(--spacing-md) 0;
  font-size: 0.97rem;
  color: var(--secondary);
}
@media (max-width: 600px) {
  .footer-nav, .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 -2px 16px rgba(36,106,59,.17);
  z-index: 4000;
  padding: 20px 10vw 20px 10vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  font-size: 1.05rem;
  border-top: 3px solid var(--brand-accent);
  transition: transform 0.32s cubic-bezier(.77,0,.41,1.05), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 3 1 220px;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex: 1 1 90px;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  border: none;
  padding: 11px 22px;
  border-radius: 8px;
  transition: background .18s, color .20s, box-shadow .18s;
  background: var(--brand-light);
  color: var(--primary);
  cursor: pointer;
  margin-left: 4px;
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--secondary);
  box-shadow: 0 1.5px 5px rgba(184,107,0,.07);
}
.cookie-btn.accept:hover {
  background: var(--brand-dark);
  color: var(--accent);
}
.cookie-btn.reject {
  background: #EFF3ED;
  color: var(--primary);
}
.cookie-btn.reject:hover {
  background: var(--brand-accent2);
  color: var(--secondary);
}
.cookie-btn.settings {
  background: var(--brand-light);
  color: var(--brand-accent);
  border: 1.5px solid var(--brand-accent);
}
.cookie-btn.settings:hover {
  background: var(--brand-accent2);
  color: var(--secondary);
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    padding: 16px 4vw;
    font-size: .97rem;
  }
  .cookie-banner__actions {
    justify-content: flex-start;
    gap: 8px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  z-index: 4100;
  background: rgba(36,106,59,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: background 0.19s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 36px rgba(36,106,59,.13);
  border: 2.5px solid #EAEAEA;
  padding: 36px 32px 26px 32px;
  max-width: 95vw;
  width: 410px;
  animation: fadeInUp .7s cubic-bezier(.77,0,.41,1.09) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}
.cookie-modal ul {
  margin-bottom: var(--spacing-sm);
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1.2px solid #EFECEA;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  accent-color: var(--brand-accent2);
  width: 22px;
  height: 22px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: var(--spacing-md);
}

/* Accessibility: focus-visible states */
a:focus-visible, button:focus-visible, .cta:focus-visible, .cookie-btn:focus-visible,
.footer-nav a:focus-visible, .mobile-nav a:focus-visible {
  outline: 2.5px dashed var(--brand-accent);
  outline-offset: 3px;
}

/* ===================
   GEOMETRIC STRUCTURES
   =================== */
/* Subtle geometric accents (card corners, sections) & angular font settings */
.features-grid .feature, .pricing-plan, .testimonial-card, .card {
  border-radius: 18px 3px 18px 3px;
  box-shadow: var(--shadow-card);
  border-width: 2.5px;
}
.section {
  border-radius: 19px 4px 18px 5px;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-stretch: extra-expanded;
  letter-spacing: 0.04em;
}

.cta, .main-cta, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.07em;
}

/* ============
   MICRO-ANIMATIONS
   ============ */
.cta, .main-cta, .features-grid .feature, .card, .pricing-plan, .testimonial-card, .cookie-btn {
  transition: background .16s, border .16s, color .16s, box-shadow .15s, transform .14s;
}

/* =============
   MISC UTILS
   ============= */
.hide { display: none !important; }
.show { display: block !important; }

/* =============
   PRINT SUPPORT
   ============= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, .container { box-shadow: none !important; background: #fff !important; }
}
