/* RESET & BASELINE ----------------------------------- */
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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
body {
  line-height: 1.6;
  background: #F2F0EC;
  color: #264028;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #8D6F42;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
  font-weight: 600;
  word-break: break-word;
}
a:hover, a:focus {
  color: #264028;
  text-decoration: underline;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  transition: background .2s, color .2s, box-shadow .2s;
}

/* BRANDING ----------------------------------- */
:root {
  --primary: #264028;     /* Forest Green */
  --secondary: #8D6F42;  /* Bronze/Leather */
  --accent: #F2F0EC;     /* Calm Sand */
  --danger: #ac2933;
  --focus: #4D8048;
  --white: #fff;
  --shadow: 0 4px 20px 0 rgba(38,64,40,0.09);
}
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700,900&family=Roboto:wght@400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  color: var(--primary);
  text-wrap: balance;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
  font-weight: 700;
}
h4 {
  font-size: 1.15rem;
}
p, ul, ol {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--primary);
}
strong, b {
  font-weight: 700;
}

/* HEADER ----------------------------------- */
header {
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(38,64,40,0.05);
  position: relative;
}
header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
  flex-wrap: wrap;
  position: relative;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  width: 100%;
  padding: 18px 0;
}
.main-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 6px 6px;
  color: var(--primary);
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
  outline: none;
}
.main-nav .cta-button {
  margin-left: auto;
}
.main-nav img {
  height: 44px;
  width: auto;
}

.cta-button {
  appearance: none;
  font-family: 'Merriweather', serif;
  padding: 14px 32px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 36px;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  border: none;
  transition: background 0.23s cubic-bezier(.4,0,.2,1), transform .13s cubic-bezier(.4,0,.2,1), box-shadow .19s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 6px rgba(141,111,66,0.07);
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-left: 16px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-1px) scale(1.035);
  box-shadow: 0 7px 24px 0 rgba(38,64,40,0.11);
  outline: none;
}

.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  font-size: 2.15rem;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  z-index: 44;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--white);
}

/* MOBILE MENU ----------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(38,64,40,0.93);
  color: var(--accent);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform .37s cubic-bezier(.7,.2,.34,1.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--accent);
  align-self: flex-end;
  margin: 28px 28px 0 0;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.83;
  transition: opacity .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.36rem;
  font-family: 'Merriweather', serif;
  color: var(--accent);
  padding: 16px 0 6px 0;
  border-radius: 7px;
  letter-spacing: 0.01em;
  font-weight: 900;
  transition: color .19s, background .19s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(245,245,245,0.08);
  color: var(--secondary);
  outline: none;
}

/* HERO SECTION ----------------------------------- */
.hero {
  background: var(--primary);
  color: var(--accent);
  padding: 72px 0 56px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: stretch;
  min-height: 340px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 1160px;
  min-height: 200px;
  padding: 0 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.hero h1, .hero h2, .hero h3, .hero p {
  color: var(--accent);
}
.hero .cta-button {
  background: var(--secondary);
  color: var(--accent);
  margin-top: 16px;
}
.hero .cta-button:hover, .hero .cta-button:focus {
  background: var(--accent);
  color: var(--primary);
}
.subheadline {
  font-size: 1.5rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--accent);
  line-height: 1.3;
}

/* CONTAINERS & SECTIONS --------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper.text-section {
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 32px 32px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 768px) {
  .content-wrapper.text-section {
    padding: 24px 8px;
  }
}

/* FLEXBOX LAYOUTS ----------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  box-shadow: 0 4px 32px 0 rgba(38,64,40,0.10);
  border-radius: 14px;
  padding: 30px 26px 30px 26px;
  min-width: 256px;
  max-width: 340px;
  flex: 1 1 256px;
  transition: box-shadow .19s, transform .15s;
}
.feature-item img {
  width: 46px;
  height: 46px;
}
.feature-item:hover {
  box-shadow: 0 9px 40px 0 rgba(141,111,66,0.18);
  transform: translateY(-2px) scale(1.02);
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    max-width: 100%;
    margin-right: 0;
  }
}

.offer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.offer-teaser {
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 340px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(38,64,40,0.13);
  padding: 28px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .19s, transform .14s;
  position: relative;
  border-left: 7px solid var(--secondary);
}
.offer-teaser a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.08rem;
  margin-top: auto;
  transition: color .17s;
}
.offer-teaser a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.offer-teaser:hover {
  box-shadow: 0 14px 42px 0 rgba(141,111,66,0.11);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .offer-row {
    flex-direction: column;
    gap: 16px;
  }
}

.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: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 rgba(38,64,40,0.09);
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* TESTIMONIALS ---------------------- */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 20px 28px;
  margin-bottom: 24px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 16px;
  min-width: 220px;
  flex: 1 1 260px;
  box-shadow: 0 2px 24px 0 rgba(141,111,66,0.11);
  border-left: 6px solid var(--primary);
  position: relative;
  transition: box-shadow .19s, transform .14s;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.09rem;
  font-family: 'Roboto',sans-serif;
  font-weight: 500;
}
.testimonial-meta {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 13px 46px 0 rgba(141,111,66,0.16);
  transform: translateY(-2px) scale(1.01);
}
@media (max-width: 900px) {
  .testimonial-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* FORMS AND INPUTS ------------------- */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--accent);
  transition: border .18s;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
}
label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
  color: var(--primary);
}

/* FOOTER ----------------------------------- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 38px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-menu a {
  color: var(--accent);
  font-family: 'Roboto',sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: color .13s;
}
.footer-menu a:hover {
  color: var(--secondary);
}
.legal-notice {
  margin-top: 12px;
  font-size: .96rem;
  opacity: 0.73;
  color: #e4e2dd;
  font-family: 'Roboto', sans-serif;
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.social-links a {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border-radius: 50%;
  transition: box-shadow .15s, background .15s;
}
.social-links a:hover {
  background: var(--accent);
  box-shadow: 0 3px 16px 0 rgba(38,64,40,0.06);
}
.social-links img {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  header .container {
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  footer .container {
    gap: 16px;
    padding: 0 10px;
  }
  .footer-menu {
    gap: 10px;
    font-size: .98rem;
  }
}

/* LISTS & ICONS -------------------------- */
ul {
  padding-left: 0;
  margin-bottom: 14px;
}
ul li, .text-section ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Roboto', sans-serif;
  position: relative;
}
ul li img {
  width: 22px;
  height: 22px;
  opacity: 0.89;
}
ul li:last-child {
  margin-bottom: 0;
}

/* COOKIES CONSENT BANNER ---------------------------- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  padding: 23px 26px 20px 26px;
  box-shadow: 0 -4px 24px 0 rgba(38,64,40,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 1900;
  gap: 24px;
  font-size: 1.01rem;
  min-height: 65px;
  transition: transform .35s cubic-bezier(.7,.2,.34,1.2);
}
#cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-actions {
  display: flex;
  gap: 14px;
  margin-left: 20px;
}
.cookie-btn {
  border-radius: 24px;
  border: none;
  padding: 11px 26px;
  font-size: 1rem;
  margin-left: 0;
  font-family: 'Merriweather', serif;
  color: var(--primary);
  background: var(--accent);
  font-weight: 900;
  transition: background .19s, color .19s, box-shadow .14s;
  box-shadow: 0 1px 8px 0 rgba(141,111,66,0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--white);
  outline: none;
}
.cookie-btn.reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--secondary);
}
@media (max-width: 650px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.98rem;
    padding: 20px 10px 18px 10px;
    min-height: 80px;
  }
  .cookie-actions {
    margin-left: 0;
    gap: 8px;
  }
}

/* COOKIE MODAL --------------------------- */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2000;
  background: rgba(38,64,40,0.78);
  align-items: center;
  justify-content: center;
}
#cookie-modal.open {
  display: flex;
  animation: fadeIn 0.21s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: var(--accent);
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(38,64,40,0.18);
  padding: 32px 26px 24px 26px;
  width: 98%;
  max-width: 420px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popIn .25s cubic-bezier(.52,1.58,.53,.93);
  position: relative;
}
@keyframes popIn {
  0% {transform: scale(.94); opacity: 0;}
  100% {transform: scale(1); opacity: 1;}
}
.cookie-category {
  background: #e7e4db;
  color: var(--primary);
  border-radius: 7px;
  padding: 11px 15px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Roboto',sans-serif;
  justify-content: space-between;
  font-weight: 500;
}
.cookie-category.essential {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-category .toggle {
  margin-left: auto;
}
.toggle-switch {
  --toggle-width: 40px;
  --toggle-height: 20px;
  appearance: none;
  outline: none;
  background: #ccc;
  width: var(--toggle-width);
  height: var(--toggle-height);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
}
.toggle-switch:checked {
  background: var(--primary);
}
.toggle-switch::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 2px; top: 2px;
  transition: left .17s;
  box-shadow: 0 2px 6px 0 rgba(141,111,66,0.08);
}
.toggle-switch:checked::before {
  left: 22px;
  background: var(--secondary);
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.63;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  opacity: 1;
  color: var(--secondary);
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  font-size: 1rem;
  border-radius: 18px;
}

/* ANIMATIONS & MICRO-INTERACTIONS --------------------------- */
.cta-button, .cookie-btn {
  transition: background .19s cubic-bezier(.4,0,.2,1), color .23s cubic-bezier(.4,0,.2,1), transform .13s cubic-bezier(.4,0,.2,1), box-shadow .19s cubic-bezier(.4,0,.2,1);
}

@media (max-width: 1024px) {
  .hero {
    min-height: 200px;
    padding: 52px 0 32px 0;
  }
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.43rem;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .hero {
    padding: 34px 0 20px 0;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
  .container {
    padding: 0 7px;
  }
  .feature-item, .offer-teaser, .testimonial-card {
    min-width: 150px;
    padding: 18px 10px;
  }
}

/* UTILITIES ----------------------------------- */
.text-center {
  text-align: center;
}
.mt-32 { margin-top: 32px; }
.mt-16 { margin-top: 16px; }
.mt-8 { margin-top: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

[tabindex]:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* COLOR/STYLE ACCESSIBILITY ------------------- */
@media (prefers-contrast: more) {
  .testimonial-card {
    background: #fff;
    color: #000;
    border-left-color: #222;
  }
  .cookie-btn, .cta-button {
    background: #fff !important;
    color: #222 !important;
  }
}

/* Prevent content overlapping and ensure minimum spacing */
.content-wrapper > * + * { margin-top: 8px; }
.content-wrapper.text-section > * + * { margin-top: 11px; }
.offer-row > * {
  margin-bottom: 20px;
}
.feature-grid > *,
.card-container > *,
.testimonial-grid > * {
  margin-bottom: 20px;
}

/* Remove absolute for content blocks - only for icons/decor */
.card, .feature-item, .testimonial-card, .offer-teaser {
  position: relative;
  z-index: 4;
}

/* QUOTES, BLOCKQUOTES, ETC. ----------------------- */
blockquote, .testimonial-card p {
  font-style: italic;
  font-family: 'Merriweather', serif;
  font-weight: 500;
}

/* Hide scrollbar for mobile menu overlay */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* PRINT ------------------------------------------- */
@media print {
  header, footer, #cookie-banner, #cookie-modal, .mobile-menu { display: none!important; }
  body { background: #fff!important; color: #000!important; }
}

/* END OF STYLE ----------------------------------- */
