/* ---------- 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, 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;
}

html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FFFFFF;
  color: #2C3E1E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #496B3F;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
a:hover, a:focus {
  color: #B6862C;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --------- TYPOGRAPHY --------- */
@import url('https://fonts.googleapis.com/css?family=Merriweather:900,700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #2C3E1E;
  font-weight: 900;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4 { font-size: 1.125rem; }
.section h2, .content-wrapper h2 {
  font-weight: 900;
  color: #2C3E1E;
}
p, li, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #2C3E1E;
}
strong, b {
  font-weight: 700;
}

/* --------- COLOR VARIABLES --------- */
:root {
  --primary: #2C3E1E;
  --secondary: #FFFFFF;
  --accent: #B6862C;
  --brand-green: #496B3F;
  --brand-sand: #EFE6D4;
  --brand-brown: #926F34;
  --gray-100: #f7f7f7;
  --gray-200: #ededed;
  --gray-800: #1a2913;
}

/* --------- LAYOUT CONTAINERS --------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-sand);
  border-radius: 32px;
  box-shadow: 0 2px 32px rgba(44, 62, 30, 0.04);
}

/* --------- FLEXBOX PATTERNS --------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--secondary);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(44, 62, 30, 0.06);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 300px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 12px 36px rgba(44, 62, 30, 0.10);
  transform: translateY(-3px) scale(1.02);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(44,62,30,.07);
  border: 2px solid var(--brand-green);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(44,62,30,.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------- HEADER --------- */
header {
  background: #fff;
  width: 100%;
  border-bottom: 2px solid var(--brand-sand);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 1rem;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s;
  margin-top: 2px;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 32px;
  background: var(--brand-green);
  color: #fff;
  font-family: 'Merriweather', serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(44, 62, 30, 0.13);
  cursor: pointer;
  text-align: center;
  margin-left: 20px;
  text-transform: uppercase;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 28px rgba(44,62,30,.17);
  transform: translateY(-2px) scale(1.045);
}
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 28px;
  background: transparent;
  border: 2px solid var(--brand-green);
  color: var(--primary);
  font-family: 'Merriweather', serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
  background: var(--brand-green);
  border: none;
  font-size: 2.1rem;
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 102;
  margin-left: 24px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}

/* --------- MOBILE MENU --------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,30,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 28px 16px 28px;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.85,.01,.52,1), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  line-height: 2.2rem;
  cursor: pointer;
  margin-bottom: 26px;
  margin-right: 2px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--brand-green);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
  width: 100%;
}
.mobile-nav a {
  color: var(--secondary);
  font-size: 1.2rem;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  text-align: left;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* -------- HERO SECTION -------- */
.hero {
  background: var(--brand-green);
  color: #fff;
  min-height: 360px;
  display: flex;
  align-items: center;
  border-radius: 0 0 40px 40px;
  margin-bottom: 48px;
  box-shadow: 0 10px 32px rgba(44, 62, 30, 0.07);
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 680px;
  align-items: flex-start;
}
.hero h1, .hero p {
  color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
}
.hero p {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 14px;
  line-height: 1.5;
}
.hero .btn-primary {
  margin-top: 10px;
  background: var(--accent);
  color: var(--primary);
}
.hero .btn-primary:hover, .hero .btn-primary:focus {
  background: var(--secondary);
  color: var(--brand-green);
}

/* --------- FEATURE LISTS & ICONS --------- */
.features {
  background: var(--brand-sand);
  border-radius: 32px;
  margin-bottom: 60px;
}
.features .content-wrapper ul, .features .content-wrapper ol {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.features .content-wrapper li {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 240px;
  font-size: 1.08rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(58,81,33,0.06);
  padding: 18px 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.features .content-wrapper li img {
  width: 36px;
  height: 36px;
  margin-right: 6px;
  flex-shrink: 0;
}

/* --------- ABOUT, VALUES, SERVICES --------- */
.about-preview a,
.services-preview a,
.content-wrapper > a.btn-primary {
  margin-top: 10px;
}
.service-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 18px rgba(44,62,30,.03);
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 6px solid var(--accent);
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(44,62,30,0.10);
  border-color: var(--brand-green);
}
.services .btn-primary {
  margin-top: 18px;
}
.services-preview ul {
  margin-top: 8px;
  margin-bottom: 12px;
}
.services-preview li {
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.2px;
}

/* --------- CONTACT PREVIEW & FORM --------- */
.contact-preview {
  background: var(--brand-green);
  color: #fff;
  border-radius: 28px;
  text-align: center;
  margin-bottom: 60px;
}
.contact-preview h2,
.contact-preview p {
  color: #fff;
}
.contact_form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  padding: 32px 24px;
  border-radius: 22px;
  box-shadow: 0 2px 18px rgba(44,62,30,0.08);
}
.contact_form label {
  font-weight: 700;
  margin-bottom: 5px;
}
.contact_form input,
.contact_form textarea {
  background: #f7f7f7;
  border-radius: 8px;
  border: 2px solid var(--brand-sand);
  font-size: 1rem;
  padding: 14px 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact_form input:focus,
.contact_form textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 2px var(--accent);
}

.contact_form button[type="submit"] {
  margin-top: 10px;
}

/* --------- TESTIMONIALS --------- */
.testimonials .testimonial-card {
  background: #fff;
  color: var(--primary);
  font-size: 1.1rem;
  border-left: 6px solid var(--accent);
  min-width: 280px;
  max-width: 540px;
  margin-bottom: 20px;
  box-shadow: 0 2px 13px rgba(58,81,33,.10);
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  color: var(--primary);
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--brand-green);
  font-weight: 700;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* --------- FOOTER --------- */
footer {
  background: var(--brand-green);
  color: #fff;
  padding: 54px 0 34px 0;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -6px 32px rgba(44,62,30,.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  min-width: 120px;
}
.footer-brand img {
  height: 56px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  margin-bottom: 6px;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--accent);
}
.footer-contact {
  font-size: 1rem;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  margin-bottom: -2px;
  vertical-align: middle;
}
.footer-contact p {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* --------- LEGAL SECTION --------- */
.legal {
  background: #fff;
  color: var(--primary);
  padding: 40px 24px;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 2px 24px rgba(44,62,30,0.07);
}
.legal ul {
  margin-top: 18px;
  margin-left: 18px;
  list-style: disc outside;
  color: var(--primary);
  padding-left: 18px;
}
.legal li {
  margin-bottom: 8px;
}

/* --------- CONFIRMATION (THANK-YOU) --------- */
.confirmation .content-wrapper {
  text-align: center;
  align-items: center;
  gap: 18px;
  max-width: 500px;
}
.confirmation h1 {
  color: var(--brand-green);
  font-size: 2.2rem;
}
.confirmation h2 {
  color: var(--brand-brown);
  font-size: 1.25rem;
  font-weight: 700;
}
.confirmation .btn-primary {
  margin-top: 22px;
}

/* --------- COOKIE CONSENT BANNER --------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(239,230,212,0.98);
  border-top: 3px solid var(--brand-green);
  color: var(--primary);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 32px;
  box-shadow: 0 -2px 32px rgba(44,62,30,0.09);
  animation: cookie-banner-slide-in 0.5s cubic-bezier(.7,0,.36,1);
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes cookie-banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner__text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-banner .btn-cookie {
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Merriweather', serif;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.btn-cookie.accept {
  background: var(--brand-green);
  color: #fff;
}
.btn-cookie.accept:hover, .btn-cookie.accept:focus {
  background: var(--accent);
  color: var(--primary);
}
.btn-cookie.reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--brand-green);
}
.btn-cookie.reject:hover, .btn-cookie.reject:focus {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--accent);
}
.btn-cookie.settings {
  background: var(--accent);
  color: #fff;
}
.btn-cookie.settings:hover, .btn-cookie.settings:focus {
  background: var(--brand-green);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 60px) scale(0.98);
  width: 98vw;
  max-width: 420px;
  background: #fff;
  color: var(--primary);
  border-radius: 20px 20px 0 0;
  z-index: 1500;
  padding: 28px 30px 18px 28px;
  box-shadow: 0 0 40px rgba(44,62,30,0.23);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.8,.01,.57,1), opacity 0.2s;
}
.cookie-modal.open {
  transform: translate(-50%, 0) scale(1.02);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__header {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}
.cookie-modal__category:last-child {
  border: none;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-switch {
  width: 44px;
  height: 22px;
  background: #e9e9e9;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  border: 2px solid var(--brand-sand);
  transition: background 0.2s, border 0.2s;
  display: inline-block;
}
.cookie-switch[aria-checked="true"] {
  background: var(--brand-green);
  border-color: var(--accent);
}
.cookie-switch__knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 1px;
  transition: left 0.22s cubic-bezier(.8,0,.56,1);
}
.cookie-switch[aria-checked="true"] .cookie-switch__knob {
  left: 22px;
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* --------- RESPONSIVE - MOBILE FIRST --------- */
@media (max-width: 991px) {
  .container {
    padding: 0 12px;
  }
  .main-nav {
    gap: 14px;
  }
  .footer-nav, .footer-contact {
    font-size: 0.94rem;
  }
}
@media (max-width: 768px) {
  /* LAYOUT ADJUSTMENTS */
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }

  header .container {
    flex-direction: row;
    align-items: center;
    min-height: 62px;
    padding: 6px 6px;
  }

  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn-primary {
    margin-left: auto;
  }
  .hero {
    border-radius: 0 0 30px 30px;
    min-height: 220px;
    margin-bottom: 30px;
    padding: 18px 0 32px 0;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .section,
  .features,
  .about-preview,
  .services-preview {
    padding: 30px 6px;
    border-radius: 19px;
    margin-bottom: 32px;
  }
  .card, .service-card, .testimonial-card {
    min-width: unset;
    max-width: 95vw;
    padding: 18px 10px;
  }
  .services .btn-primary {
    width: 100%;
    min-width: unset;
  }
  .content-wrapper {
    gap: 12px;
  }
  .features .content-wrapper ul {
    flex-direction: column;
    gap: 17px;
  }
  .features .content-wrapper li {
    flex: 1 1 99vw;
    padding: 13px 10px;
    min-width: unset;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: center;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding: 0 7px;
    align-items: stretch;
  }
  .footer-brand img {
    height: 38px;
  }
  .testimonial-card {
    max-width: 99vw;
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 13px 10px;
    font-size: 0.94rem;
    align-items: flex-start;
  }
  .cookie-modal {
    max-width: 99vw;
    padding: 20px 7px 12px 9px;
    border-radius: 17px 17px 0 0;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.05rem; }
  .btn-primary, .btn-secondary, .btn-cookie {
    font-size: .98rem;
    padding: 12px 14px;
  }
}

/* --------- UTILITIES --------- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 32px; }

/* --------- GEOMETRIC DECORATIVE SHAPES --------- */
.section {
  position: relative;
  overflow: hidden;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  right: -48px; top: -48px;
  width: 140px; height: 140px;
  background: rgba(182,134,44,0.13);
  border-radius: 50%;
  z-index: 0;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  left: -68px; bottom: -58px;
  width: 120px; height: 120px;
  background: rgba(73,107,63,0.10);
  border-radius: 50%;
  z-index: 0;
}
.section > * {
  position: relative;
  z-index: 2;
}

/* Prevent overlap on all main sections */
.section, .card, .service-card, .testimonial-card {
  margin-bottom: 24px;
}

/* --------- FOCUS STATES & ACCESSIBILITY --------- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}

::-webkit-input-placeholder { color: #9BA99B; }
::-moz-placeholder { color: #9BA99B; }
:-ms-input-placeholder { color: #9BA99B; }
::placeholder { color: #9BA99B; }

/* --------- HIDE/SHOW CLASSES (for js support) --------- */
.hide { display: none !important; }
.show { display: block !important; }
section {
  padding: 20px 0;
}
.footer-contact p {
  color: white;
}
/* --------- END OF CSS --------- */
