/* ---- CSS RESET & NORMALIZATION ---- */
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;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

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

:root {
  --color-primary: #21304A;
  --color-secondary: #82A2B5;
  --color-accent: #FFE2B0;
  --color-green: #50806B;
  --color-forest: #3C5939;
  --color-earth: #BDA178;
  --color-bg: #F6F4EF;
  --color-bg-section: #F6F4EF;
  --color-bg-alt: #F9F7F3;
  --color-text-main: #2A3722;
  --color-text-dark: #152019;
  --color-text-light: #F6F4EF;

  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  background: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ----- GENERAL UTILITY CLASSES ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(60,100,60,0.06);
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-forest);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  font-family: var(--font-body);
  color: var(--color-text-main);
  font-size: 1rem;
  margin-bottom: 16px;
}
p:last-child, ul:last-child, ol:last-child, blockquote:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
blockquote {
  font-style: italic;
  color: var(--color-green);
  padding-left: 16px;
  border-left: 4px solid var(--color-green);
  margin-bottom: 8px;
}
cite {
  font-size: 0.95em;
  color: var(--color-forest);
  display: block;
  margin-top: 8px;
  font-style: normal;
}

ul, ol {
  list-style-position: outside;
  margin-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
ul li img {
  vertical-align: middle;
  margin-right: 8px;
}

.highlight {
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 14px;
  display: inline-block;
  margin: 20px 0;
  letter-spacing: 0.2px;
}

/* ----- HEADER & NAV ----- */
header {
  background: var(--color-bg);
  width: 100%;
  box-shadow: 0 2px 8px rgba(64, 92, 42, 0.06);
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  min-height: 80px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  padding: 8px 14px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-forest);
}
.cta-btn {
  background: var(--color-green);
  color: var(--color-accent);
  border-radius: 24px;
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px 0 rgba(88,90,60,0.10);
  margin-left: 16px;
  cursor: pointer;
  outline: none;
  border: none;
  display: inline-block;
  letter-spacing: 0.05em;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-forest);
  color: var(--color-accent);
  box-shadow: 0 4px 18px 0 rgba(60,100,60,0.16);
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: var(--color-accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.7rem;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover {
  background: var(--color-forest);
}

/* ----- MOBILE NAV MENU ----- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #dde9e5 0%, #F6F4EF 80%);
  z-index: 2000;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.9,.05,.26,.95);
  box-shadow: 2px 0 18px 0 rgba(60,100,60,0.18);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: var(--color-green);
  color: var(--color-accent);
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.21s;
  box-shadow: 0 1px 12px 0 rgba(80, 128, 107, 0.05);
}
.mobile-menu-close:hover {
  background: var(--color-forest);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  color: var(--color-primary);
  background: transparent;
  border-bottom: 1px solid #c6cfc7;
  padding: 20px 34px;
  font-size: 1.25rem;
  font-weight: 700;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-forest);
}

/* Hide main nav and show burger menu on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----- HERO SECTION ----- */
.hero-section {
  background: linear-gradient(120deg, #dde9e5 0%, #F6F4EF 100%);
  border-radius: 0 0 48px 48px;
  margin-bottom: 44px;
  box-shadow: 0 8px 42px 0 rgba(30,80,40,0.09);
}
.hero-section .container {
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;
  padding-top: 45px;
  padding-bottom: 45px;
}
.hero-section h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
}
.hero-section p {
  font-size: 1.15rem;
  color: var(--color-green);
}
.hero-section .cta-btn {
  margin-top: 22px;
  font-size: 1.17rem;
  padding: 12px 36px;
}

/* ---- CARD & FEATURES LAYOUTS ---- */
.features-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 12px;
}
.feature {
  background: var(--color-bg-alt);
  border-radius: 28px;
  box-shadow: 0 2px 10px 0 rgba(80,128,107,0.08);
  padding: 32px 28px 28px 28px;
  flex: 1 1 220px;
  max-width: 300px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: transform .19s, box-shadow .19s;
  border: 2px solid transparent;
}
.feature img {
  height: 46px;
  margin-bottom: 8px;
}
.feature h3 {
  font-size: 1.27rem;
  color: var(--color-green);
  margin-bottom: 2px;
}
.feature p {
  font-size: 1rem;
  color: var(--color-text-main);
}
.feature:hover {
  border: 2px solid var(--color-green);
  box-shadow: 0 6px 25px 0 rgba(78,118,86,0.16);
  transform: translateY(-2px) scale(1.018);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-alt);
  border-radius: 22px;
  box-shadow: 0 1px 10px 0 rgba(80,128,107,0.09);
  padding: 28px 28px 22px 28px;
  position: relative;
  flex: 1 1 250px;
  margin-bottom: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.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) {
  .features-grid, .content-grid, .text-image-section, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .card {
    min-width: 0;
    max-width: 100%;
  }
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2.5px 16px 0 rgba(33,48,74,0.13);
  padding: 20px 26px;
  min-width: 220px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  border: 2px solid var(--color-accent);
  transition: box-shadow 0.22s, border 0.18s;
}
.testimonial-card:hover {
  border-color: var(--color-green);
  box-shadow: 0 8px 32px 0 rgba(72,104,80,0.14);
}
.testimonial-card blockquote {
  color: var(--color-primary);
  font-size: 1.02em;
  font-style: italic;
  border-left: 4px solid var(--color-green);
  padding-left: 14px;
  margin-bottom: 6px;
}
.testimonial-card cite {
  color: var(--color-green);
  font-size: 0.97em;
}

@media (max-width: 820px) {
  .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 0;
  }
}

/* ----- FOOTER ----- */
footer {
  background: var(--color-forest);
  color: var(--color-accent);
  padding: 36px 0 16px 0;
  border-top-left-radius: 44px;
  border-top-right-radius: 44px;
  margin-top: auto;
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover {
  background: var(--color-earth);
  color: var(--color-text-dark);
}
footer p {
  text-align: center;
  color: var(--color-accent);
  font-size: 0.97rem;
  margin-bottom: 0;
}

/* ----- CONTACT INFO ----- */
.contact-info {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
  margin-top: 18px;
}
.contact-info ul {
  margin-bottom: 10px;
}
.contact-info li {
  color: var(--color-text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.contact-info img {
  width: 21px;
  height: 21px;
  margin-right: 11px;
}
@media (max-width: 880px) {
  .contact-info {
    flex-direction: column;
    gap: 14px;
  }
}

/* ----- BUTTONS & FORM ELEMENTS ----- */
button, .cta-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.14s, border 0.13s;
  cursor: pointer;
  outline: none;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* ----- COOKIE CONSENT BANNER ----- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg);
  color: var(--color-text-main);
  box-shadow: 0 -2px 12px 0 rgba(50,64,40,0.09);
  padding: 18px 10vw 18px 10vw;
  z-index: 3000;
  font-size: 1rem;
  gap: 24px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s, transform 0.38s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-consent-banner .cookie-text {
  flex: 1 1 60%;
  color: var(--color-forest);
}
.cookie-btn-group {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border-radius: 16px;
  background: var(--color-green);
  color: var(--color-accent);
  padding: 7px 20px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  margin-left: 0;
  transition: background .18s, color .18s, box-shadow .15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-forest);
}
.cookie-btn.cookie-reject {
  background: var(--color-earth);
  color: var(--color-forest);
}
.cookie-btn.cookie-reject:hover {
  background: #b29979;
  color: var(--color-forest);
}
.cookie-btn.cookie-settings {
  background: var(--color-accent);
  color: var(--color-forest);
  border: 1.6px solid var(--color-forest);
}
.cookie-btn.cookie-settings:hover {
  background: var(--color-forest);
  color: var(--color-accent);
}

/* ----- COOKIE PREFERENCES MODAL ----- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0; 
  z-index: 4000;
  background: rgba(41, 61, 39, 0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-bg-section);
  border-radius: 26px;
  box-shadow: 0 6px 38px 0 rgba(30,80,40,0.17);
  padding: 36px 28px 26px 28px;
  min-width: 320px;
  max-width: 98vw;
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h3 {
  color: var(--color-green);
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-modal .category label {
  font-weight: 600;
  color: var(--color-forest);
}
.cookie-modal .toggle-switch {
  appearance: none;
  width: 36px;
  height: 18px;
  background: var(--color-earth);
  border-radius: 18px;
  position: relative;
  transition: background 0.17s;
  outline: none;
}
.cookie-modal .toggle-switch:checked {
  background: var(--color-green);
}
.cookie-modal .toggle-switch::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 1px;
  transition: left 0.17s;
}
.cookie-modal .toggle-switch:checked::before {
  left: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 108px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--color-green);
  color: var(--color-accent);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 1.33rem;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--color-forest);
}

/* ----- LIST AND FEATURE ITEMS ----- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- RESPONSIVE DESIGN (MOBILE FIRST) ---- */
@media (max-width: 700px) {
  .container {
    padding: 0 5vw;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 8px;
  }
  .hero-section {
    padding-bottom: 18px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.38rem;
  }
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 20px 3vw 20px 3vw;
    gap: 12px;
    font-size: .98rem;
  }
}

/* ---- MICRO-INTERACTIONS & TRANSITIONS ---- */
.card, .feature, .testimonial-card, .cta-btn, .main-nav a, .footer-nav a {
  transition: box-shadow 0.17s, transform 0.17s, border 0.16s, background 0.15s, color 0.15s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(30,80,40,0.11);
  transform: translateY(-2px) scale(1.02);
}

/* ---- ORGANIC SHAPE DECORATIONS (subtle) ---- */
.section, .feature, .card, .testimonial-card {
  border-radius: 28px 36px 24px 22px/28px 18px 22px 36px;
}

/* ---- ACCESSIBILITY: FOCUS STATES ---- */
a:focus, .cta-btn:focus, button:focus, .main-nav a:focus, .footer-nav a:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

/* ---- FORMS (if any) ---- */
input, textarea, select {
  border-radius: 8px;
  background: #fff;
  border: 1.7px solid var(--color-earth);
  padding: 8px 10px;
  color: var(--color-forest);
  margin-bottom: 12px;
  font-size: 1rem;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-green);
  outline: none;
}

/* ---- Z-INDEX LAYERING ---- */
header { z-index: 100;}
.mobile-menu { z-index: 2000;}
.cookie-consent-banner { z-index: 3000;}
.cookie-modal-overlay { z-index: 4000;}

/* END OF CSS */
