/* ============================
   CSS 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.6; background: #FAF9F7; min-height: 100vh; color: #22432c; }
ol, ul { list-style: none; }
a { background: transparent; text-decoration: none; color: inherit; }
img { border: 0; vertical-align: middle; max-width: 100%; height: auto; }
table { border-collapse: collapse; border-spacing: 0; }
button { background: none; border: none; font: inherit; cursor: pointer; }

/* ===================================
   BRAND COLORS & FONTS
===================================== */
:root {
  --color-primary: #22432c;
  --color-secondary: #ffffff;
  --color-accent: #a67242;
  --color-light: #FAF9F7;
  --color-muted: #E6E3DD;
  --color-muted-2: #F3F0EA;
  --color-card: #FFFFFF;
  --color-border: #d5cfc2;
  --color-shadow: rgba(55, 94, 66, 0.08);

  --font-display: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary);
  background: var(--color-light);
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1rem; }
p, ul, li, blockquote { font-size: 1rem;   margin-bottom: 14px; }
ul, ol { padding-left: 1.5em; }
ul.feature-list { padding-left: 0; }
strong { font-weight: 700; }
small { font-size: 0.93em; color: #81765c; }

/* ===============================
   CONTAINER, SECTIONS, LAYOUT
================================= */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: none;
}
.text-section {
  background: var(--color-muted-2);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cta-section, .benefits-section {
  background: var(--color-muted);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 60px;
  padding-top: 30px;
  padding-bottom: 30px;
}

/* ===================
   NAVIGATION & HEADER
==================== */
header {
  background: var(--color-secondary);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0; left: 0;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
header img {
  max-height: 44px;
  width: auto;
  margin-right: 18px;
  transition: transform 0.2s;
}
header img:hover {
  transform: scale(1.05) rotate(-2deg);
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-family: var(--font-display);
}
.main-nav a {
  font-size: 1.07rem;
  color: var(--color-primary);
  opacity: 0.92;
  padding: 5px 12px;
  border-radius: 4px;
  line-height: 1.3;
  transition: color 0.18s,background 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  background: var(--color-muted-2);
  opacity: 1;
}
.main-nav a.cta {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 2px 4px rgba(166,114,66,0.06);
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #8e5723;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-muted);
  border-radius: 50%;
  border: 1.5px solid var(--color-card);
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  transition: background 0.19s, border 0.19s, color 0.14s;
  margin-left: 16px;
  z-index: 22;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
/*********************
  MOBILE NAVIGATION
*********************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(34,67,44,0.98);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.46,.03,.52,.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 2.3rem;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: background 0.15s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff;
  color: var(--color-accent);
}
.mobile-nav {
  margin-top: 84px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  background: none;
  transition: background 0.17s, color 0.17s;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: #fffceb;
}
/************************
  HERO & SPLASH SECTIONS
*************************/
.hero {
  background: var(--color-primary);
  color: #fff;
  border-bottom-left-radius: 38px;
  border-bottom-right-radius: 38px;
  box-shadow: 0 8px 44px rgba(34,67,44,0.08);
  padding: 50px 0;
  margin-bottom: 48px;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.hero .content-wrapper {
  align-items: center;
  gap: 8px;
}
.hero h1,
.hero h2, .hero h3 {
  color: #fff;
  text-shadow: 0 1px 6px rgba(51,81,56,0.07);
}
.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.hero p { color: #f6f1e9; font-size: 1.1rem; }

/***********************
  BUTTON & LINKS STYLES
***********************/
.cta,
button.cta,
input[type="submit"].cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.13rem;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(166,114,66,0.08);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, transform 0.17s;
  position: relative;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: #87511e;
  color: #fffceb;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(166,114,66,0.14);
  outline: none;
}
a.cta:active, button.cta:active {
  background: #683910;
}

/**************************
  CARDS, CARD LAYOUTS, FEATURES
***************************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.card {
  background: var(--color-card);
  border-radius: 13px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 265px;
  max-width: 360px;
  flex: 1 1 330px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.18s, border 0.16s;
  border: 1px solid var(--color-border);
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 28px rgba(34,67,44,.13);
  border-color: var(--color-accent);
  transform: translateY(-3px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.card img {
  max-width: 54px;
  margin-bottom: 10px;
  border-radius: 7px;
  background: var(--color-muted-2);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
/***********************
  FEATURE LISTS & ITEMS
***********************/
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 0 0 16px 0;
}
.feature-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--color-card);
  border-radius: 11px;
  box-shadow: 0 2px 5px var(--color-shadow);
  padding: 14px 18px 18px 16px;
  min-width: 210px;
  max-width: 290px;
  font-size: 1.08rem;
  border: 1px solid var(--color-border);
  margin-bottom: 0;
  transition: background 0.13s, box-shadow 0.13s;
}
.feature-list li:hover {
  background: var(--color-muted-2);
  box-shadow: 0 2px 12px rgba(166,114,66,0.10);
}
.feature-list img {
  height: 32px;
  width: 32px;
  margin-bottom: 7px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/******************
  TESTIMONIAL CARD
*******************/
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(34,67,44,.10);
  border-left: 5px solid var(--color-accent);
  border-radius: 13px;
  padding: 20px 24px;
  margin: 24px 0 20px 0;
  min-width: 220px;
  max-width: 700px;
  color: var(--color-primary);
}
.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-primary);
  font-size: 1.13rem;
  margin-bottom: 6px;
  line-height: 1.45;
}
.testimonial-card span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #484030;
  margin-left: 5px;
}
/******************
  LISTS, LINKS, ETC.
*******************/
ul.contact-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 12px 0 18px 0;
  font-size:1.02rem;
}
ul.contact-list img {
  height: 20px; width: 20px; margin-right: 7px; opacity: 0.88; }
ul.contact-list li { display: flex; align-items: center; gap: 7px; }
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 13px;
  margin-bottom: 6px;
  color: #837a6b;
}
.footer-menu a {
  color: #837a6b;
  font-size: 0.99em;
  transition: color 0.18s;
  opacity: 0.88;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--color-accent);
  opacity: 1;
}
.trust-signals {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-start;
  color: #857053;
  font-size: 0.98em;
  margin-top: 12px;
}
/******************
  CALLOUT/QUOTE
*******************/
.callout {
  background: var(--color-accent);
  color: #fff;
  padding: 14px 20px;
  border-radius: 15px;
  font-family: var(--font-display);
  font-size: 1.13em;
  margin: 24px 0 12px 0;
  box-shadow: 0 1px 5px rgba(166,114,66,0.07);
  font-style: italic;
}
/******************
    FOOTER STYLES
*******************/
footer {
  background: var(--color-primary);
  color: #fff;
  margin-top: 60px;
  font-size: 1rem;
  padding: 38px 0 18px 0;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
  box-shadow: 0 -5px 40px rgba(55,94,66,0.09);
}
footer h3 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 11px;
}
footer .container { justify-content: center; align-items: center; gap: 0; }
footer .content-wrapper { gap: 0; align-items: flex-start; }
/******************
  COOKIE CONSENT
*******************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(250,249,247,0.98);
  color: var(--color-primary);
  box-shadow: 0 -3px 28px rgba(55,94,66,.08);
  z-index: 1101;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 20px 20px 30px;
  gap: 20px;
  font-size: 1.08em;
  transition: transform 0.26s cubic-bezier(.46,.03,.52,.96);
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-banner .cookie-actions { display: flex; flex-direction: row; gap: 16px; margin-left: 25px; }
.cookie-banner button {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: background 0.13s, border 0.13s, color 0.13s;
  margin-left: 0;
  background: var(--color-muted-2);
  color: var(--color-primary);
}
.cookie-banner button.accept {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  margin-right: 3px;
}
.cookie-banner button.accept:hover { background: #87511e; border-color: #87511e; }
.cookie-banner button.reject {
  background: #fff;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-banner button.reject:hover { background: var(--color-muted); color: #c19165; border-color: var(--color-accent); }
.cookie-banner button.settings {
  background: var(--color-muted);
  color: #665211;
  border-color: #ddd;
}
.cookie-banner button.settings:hover { background: #e5d7c5; }
/*********************
  COOKIE MODAL (Popup)
*********************/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,67,44,0.33);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 17px;
  box-shadow: 0 10px 36px rgba(55,94,66,0.15);
  padding: 40px 28px 34px 28px;
  max-width: 420px;
  width: 95%;
  animation: fade-in 0.3s cubic-bezier(.46,.03,.52,.96);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.cookie-modal h2 { font-size: 1.38rem; margin-bottom: 7px; }
.cookie-modal label {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.04em;
  margin-bottom: 9px;
  font-family: var(--font-body);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px; height: 18px;
  margin-right: 3px;
}
.cookie-modal .close-btn {
  position: absolute; top: 13px; right: 19px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  width: 34px; height: 34px; font-size: 1.13rem;
  display: flex; align-items: center; justify-content: center;
  border: none;
  transition: background 0.17s, color 0.12s;
  z-index: 2222;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  background: #823d03; color: #fff;
}
.cookie-modal .actions {
  display: flex; flex-direction: row; gap: 12px; margin-top: 4px;
}
.cookie-modal .actions button {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 5px;
  border: 1.5px solid transparent;
}
.cookie-modal .actions .accept {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.cookie-modal .actions .reject {
  background: #fff;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
@keyframes fade-in {
  from { opacity: 0; transform: scale(1.09); } to { opacity:1; transform: scale(1); }
}

/**********************
   RESPONSIVE STYLES
**********************/
@media (max-width: 1024px){
  .container, .footer .container { max-width: 940px; }
  .hero { padding: 38px 0; }
  .main-nav { gap: 10px; }
  .footer-menu { gap: 11px; }
}
@media (max-width: 900px){
  .container { max-width: 95vw; }
  .footer-menu { flex-wrap: wrap; }
  .card { min-width: 180px; flex-basis: 240px; }
}
@media (max-width: 768px){
  html { font-size: 98%; }
  .container { padding: 0 12px; }
  .section, .cta-section, .benefits-section { padding: 28px 7px; }
  .footer-menu { gap: 10px; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero { padding: 30px 0 28px 0; border-bottom-left-radius: 17px; border-bottom-right-radius: 17px; }
  .content-wrapper, .card-container, .feature-list { flex-direction: column; gap: 14px; }
  .feature-list { align-items: stretch; }
  .testimonial-card { max-width: 98vw; padding: 13px 9px; gap: 10px; font-size:0.99rem; }
  .card { padding: 20px 13px; min-width: 90vw; max-width: 98vw; }
  .text-image-section { flex-direction: column; gap: 16px; }
}
@media (max-width: 570px){
  html { font-size: 91%; }
  .hero h1 { font-size: 1.58rem; }
  .hero .container { min-height: unset; }
  .footer { font-size: 0.99rem; }
  .section, .cta-section, .benefits-section { margin-bottom: 32px; padding: 14px 4px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 18px 8px; }
  .cookie-banner .cookie-actions { margin-left: 0; }
}

/*************************
 MICRO-ANIMATIONS & FOCUS
*************************/
a, button, .cta, input[type="submit"]:focus, .footer-menu a:focus, .main-nav a:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-accent), 0 1px 8px 0 rgba(166,114,66,0.06);
}
button:active {
  transform: scale(0.975);
}
.card, .feature-list li, .testimonial-card, .cta, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.13s, border 0.13s, color 0.12s;
}

/******************************
 CRITICAL FLEXBOX ALIGNMENT
*******************************/
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/***************************
  UTILITY & GENERAL CLASSES
****************************/
.text-center { text-align: center; }
.hidden { display: none !important; }

/* END OF CSS */
