/* --- 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, 
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;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #F8F6F3;
  color: #2c2a28;
}
:root {
  /* Brand core */
  --primary: #23272B;
  --secondary: #6A727C;
  --accent: #F2C66D;
  /* Nature/organic extension */
  --green: #587142;
  --olive: #8A8C5C;
  --earth: #c3ad7b;
  --sand: #EEE8DE;
  --background: #F8F6F3;
  --card: #fffaf5;
  --border: #D5D6C7;
  --shadow: rgba(90, 100, 70, 0.07);
  --testimonial-bg: #f6f5ee;
  --error: #c33131;
  --success: #4C7C48;
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--primary);
  background: var(--background);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--green);
  letter-spacing: -0.5px;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, blockquote, address, li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--primary);
  margin-bottom: 16px;
}
strong { font-weight: 600; color: var(--green); }
a { color: var(--green); text-decoration: underline; transition: color 0.2s; }
a:hover, a:focus { color: var(--accent); text-decoration: none; }
.link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}
.link:hover, .link:focus { color: var(--green); text-decoration: none; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--sand);
  border-bottom: 1.5px solid var(--border);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  width: 135px;
  height: auto;
  display: block;
}
header nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  border-radius: 16px;
  padding: 7px 18px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: var(--olive);
  color: #fff;
}
/* Mobile Header */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--green);
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--accent);
}
@media (max-width: 990px) {
  header .container {
    gap: 14px;
  }
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* --- BUTTONS --- */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 30px 20px 32px 22px/22px 34px 26px 24px;
  padding: 13px 34px;
  margin: 0 8px 8px 0;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  box-shadow: 0 2px 12px 0 var(--shadow);
  outline: none;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn:hover,
.btn:focus {
  background: var(--accent);
  color: var(--primary);
}
.btn.primary {
  background: var(--accent);
  color: var(--primary);
}
.btn.primary:hover,
.btn.primary:focus {
  background: var(--green);
  color: #fff;
}
.button[disabled],
.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* --- MAIN LAYOUT / SECTIONS --- */
main {
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 26px 24px 30px 22px/22px 32px 36px 24px;
  box-shadow: none;
}
@media (min-width: 1024px) {
  section {
    padding: 60px 0 60px 0;
    margin-bottom: 80px;
  }
}

/* --- CONTENT WRAPPERS --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card);
  border-radius: 22px 16px 28px 18px/18px 32px 20px 24px;
  box-shadow: 0 4px 18px 0 var(--shadow);
  margin-bottom: 20px;
  padding: 32px 26px;
  position: relative;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover { box-shadow: 0 8px 28px 0 var(--shadow); transform: translateY(-4px) scale(1.012); }

.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .service-grid > div {
  background: var(--card);
  border-radius: 18px 30px 22px 28px/24px 26px 28px 20px;
  box-shadow: 0 2px 12px 0 var(--shadow);
  padding: 24px 20px;
  flex: 1 1 min(270px, 95vw);
  min-width: 200px;
  max-width: 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.feature-grid > div:hover, .service-grid > div:hover {
  box-shadow: 0 8px 22px 0 var(--shadow);
  transform: translateY(-4px) scale(1.012);
}
.feature-grid img, .service-grid img {
  width: 46px;
  height: 46px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .container { padding-left: 9px; padding-right: 9px; }
  .content-wrapper, .feature-grid, .service-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  section { padding: 28px 6px; margin-bottom: 35px; }
}

/* --- FEATURE ITEM (for blocks with icon + text) --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px 28px 16px 26px/26px 16px 18px 30px;
  background: var(--testimonial-bg);
  box-shadow: 0 2px 12px 0 var(--shadow);
  margin-bottom: 20px;
  color: var(--primary);
  max-width: 540px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px 0 var(--shadow);
  transform: translateY(-2px) scale(1.008);
}
.testimonial-card blockquote {
  color: var(--green);
  font-style: italic;
  font-size: 1.12rem;
  margin-bottom: 10px;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.testimonial-card blockquote:before { content: open-quote; color: var(--olive); font-size: 2rem; line-height: 0.2; vertical-align: top; }
.testimonial-card blockquote:after { content: close-quote; color: var(--olive); font-size: 2rem; line-height: 0.2; vertical-align: bottom; }
.testimonial-card div {
  font-weight: 500; color: var(--secondary);
  font-size: 0.97rem;
  margin-top: 0;
}

/* --- LISTS --- */
ul, ol {
  padding-left: 26px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.6;
}
ul li:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  background: var(--accent);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 12px;
  margin-bottom: 1.5px;
}
ol li:before { display: none; }

/* --- FOOTER --- */
footer {
  background: var(--olive);
  color: #fff;
  padding: 40px 0 0 0;
  border-top: 1.5px solid var(--border);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 42px;
  padding-bottom: 32px;
  flex-wrap: wrap;
}
@media (max-width: 850px) {
  footer .container { flex-direction: column; gap: 30px; align-items: flex-start; }
}
footer img {
  width: 74px;
  height: auto;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: underline;
  opacity: 0.87;
  transition: color 0.16s, opacity 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  opacity: 1;
  text-decoration: none;
}
footer address, footer div {
  font-style: normal;
  color: #f6f5ee;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* --- FORMS & FAQS --- */
input, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1.4px solid var(--border);
  background: #fff;
  margin-bottom: 16px;
}
label { font-weight: 500; color: var(--primary); }

/* --- UTILITY CLASSES --- */
.mb-24 { margin-bottom: 24px !important; }
.mt-16 { margin-top: 16px !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }

/* --- MOBILE MENU (OVERLAY) --- */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(70,89,41,0.86);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(.7,.3,.2,1);
  pointer-events: none;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
  box-shadow: 0 0 120px 0 rgba(30,45,15,0.19);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  position: absolute;
  top: 24px;
  right: 36px;
  z-index: 2020;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: var(--accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 80px;
  align-items: center;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: transparent;
  padding: 13px 0px;
  width: 90vw;
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
  transition: background 0.2s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (min-width: 991px) {
  .mobile-menu, .mobile-menu-close, .mobile-menu-toggle { display: none !important; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fafded;
  border-top: 1.5px solid var(--border);
  box-shadow: 0 -2px 16px 0 var(--shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 18px 12px;
  transition: transform 0.38s cubic-bezier(.7,.3,.2,1), opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(200%);
  opacity: 0.11;
  pointer-events: none;
}
.cookie-banner-content {
  flex: 1 1 0%;
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-banner .btn, .cookie-banner .button {
  margin: 0 2px;
  font-size: 0.98rem;
  padding: 9px 20px;
  min-width: 110px;
  border-radius: 30px 20px 32px 22px/22px 34px 26px 24px;
  box-shadow: none;
}
.cookie-banner .btn.primary {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: var(--green);
  color: #fff;
}
.cookie-banner .btn:active { transform: scale(0.98); }
@media (max-width:640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 7px;
  }
  .cookie-banner-buttons {
    gap: 11px;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3050;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(55,77,41,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.29s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px 14px 24px 24px/18px 30px 28px 20px;
  box-shadow: 0 5px 42px 0 var(--shadow);
  max-width: 430px;
  width: 92vw;
  padding: 34px 26px 20px 26px;
  color: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1rem;
}
.cookie-modal h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--green);
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}
.cookie-modal input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--green);
  margin: 0;
}
.cookie-modal .cookie-category {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
@media (max-width:440px) {
  .cookie-modal { padding: 19px 6px 17px 12px; }
  .cookie-modal h2 { font-size: 1rem; }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--green);
  font-size: 2rem;
  font-family: 'Montserrat',sans-serif;
  position: absolute;
  top: 16px;
  right: 22px;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus { color: var(--error); }

/* --- MISC (IMAGES, DECORATIVE, ETC.) --- */
img { max-width: 100%; height: auto; border-radius: 10px; display: inline; }

/* --- SPACING and VISUAL RHYTHM --- */
section + section, .content-wrapper + .content-wrapper, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 32px !important;
}
.card, .feature-grid > div, .service-grid > div, .testimonial-card {
  margin-right: 20px;
}
@media (max-width: 600px) {
  .feature-grid > div, .service-grid > div, .card, .testimonial-card {
    margin-right: 0;
  }
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
.btn, .button, .btn.primary, .card, .feature-grid > div, .service-grid > div, .testimonial-card, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-close {
  transition: box-shadow 0.18s, background 0.18s, color 0.19s, transform 0.18s;
}

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--sand);
}
::-webkit-scrollbar-thumb {
  background: var(--olive);
  border-radius: 6px;
}

/* --- CUSTOM SEPARATORS (for organic look) --- */
hr {
  border: none;
  border-top: 2.5px dashed var(--earth);
  margin: 36px 0;
  background: none;
  height: 0;
}

/* --- STATUS COLORS --- */
.status-success { color: var(--success); }
.status-error { color: var(--error); }

/* --- SELECTION COLOR --- */
::selection {
  background: var(--accent);
  color: #23272B;
}
::-moz-selection {
  background: var(--accent);
  color: #23272B;
}

/* --- ACCESSIBILITY EXTRAS ---- */
:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* --- PRINT OPTIMIZED --- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  section, main, body { background: #fff !important; color: #131400 !important; }
  a { color: #1a6c20 !important; }
}
