/* =============================================
   CSS RESET & BASE (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;
}
html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #faf8f5;
  color: #263222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style-type: none;
}

/* =============================================
   FONT FACE IMPORT (Use Google Fonts)
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');

/* =============================================
   GLOBAL VARIABLES (COLORS & FONTS)
============================================= */
:root {
  --color-primary: #356531;
  --color-secondary: #89AB68;
  --color-accent: #F2EDE4;
  --color-gold: #C6AA58;
  --color-bg: #faf8f5;
  --color-bg-dark: #263222;
  --color-error: #aa3a39;
  --color-white: #fff;
  --font-display: 'Bitter', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --shadow-sm: 0 1px 6px rgba(38,50,34,0.08);
  --shadow-md: 0 4px 24px rgba(47, 48, 49, 0.12);
  --border-radius: 14px;
}

/* =============================================
   TYPOGRAPHY
============================================= */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
  line-height: 1.25;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
p, ul, li, span, label, input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #263222;
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}
.brand-promise {
  color: var(--color-secondary);
  font-size: 1.07rem;
  background: #f8f5ed;
  border-left: 4px solid var(--color-gold);
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 18px;
}

/* Typography scale */
@media (max-width: 480px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.35rem; }
  h3, .h3 { font-size: 1.08rem; }
  p, ul, li, span, label { font-size: 0.97rem; }
}

/* =============================================
   COMMON LAYOUTS & CONTAINER
============================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 920px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--border-radius);
}
.hero {
  background: linear-gradient(97deg, #ffffff 80%, #faf8f5 100%);
  padding: 68px 0 40px 0;
  min-height: 280px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .hero {
    padding: 48px 0 20px 0;
    min-height: 180px;
  }
  .content-wrapper {
    max-width: 100%;
  }
}

/* Flex patterns (critical) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 8px;
}
.feature-grid > div {
  background: #fff;
  border: 1px solid #ede6d7;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 240px;
  min-width: 250px;
  max-width: 320px;
  transition: box-shadow 0.32s cubic-bezier(.4,0,.2,1), transform 0.32s cubic-bezier(.4,0,.2,1);
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 36px rgba(198,170,88,0.12);
  transform: translateY(-2px) scale(1.018);
  border-color: var(--color-gold);
}
.feature-grid img {
  width: 36px; height: 36px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 2px #e6dbb8);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px;
  flex: 1 1 320px;
}

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

/* =============== SPECIAL CARD/CONTENT PATTERNS =============== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 20px 28px;
  background: #f3f2ef;
  border: 1.8px solid var(--color-gold);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  min-height: 72px;
  position: relative;
  Transition: box-shadow 0.28s, border-color 0.24s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(38,50,34,0.10);
  border-color: var(--color-secondary);
}
.testimonial-card p {
  color: #262819;
  flex: 1;
  font-size: 1.1rem;
  font-family: var(--font-body);
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.project-card,
.blog-post {
  background: #fff;
  border: 1px solid #F2EDE4;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 28px 20px 18px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.28s, border-color 0.24s;
}
.project-card:hover,
.blog-post:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 28px rgba(198,170,88,0.08);
}
.case-study-list, .blog-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-study-list > .project-card, .blog-posts-grid > .blog-post {
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 338px;
}
@media (max-width: 900px) {
  .case-study-list, .blog-posts-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-list > div {
  background: #fff;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
  padding: 20px 18px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 420px;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .faq-list {
    flex-direction: column;
    gap: 13px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* CTA sections */
.cta {
  background: linear-gradient(90deg, #F2EDE4 65%, #fff 100%);
  border-radius: var(--border-radius);
  padding: 44px 0 36px 0;
  margin-bottom: 70px;
}
.cta .content-wrapper {
  text-align: center;
}
.cta h2 {
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cta p {
  color: #3e491f;
}

/* Confirmation Section (thank you page) */
.confirmation {
  background: #fffbe2;
  border: 2px solid var(--color-gold);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 44px 0 36px 0;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  background: var(--color-bg-dark);
  padding: 0;
  width: 100%;
  position: sticky;
  z-index: 40;
  top: 0;
  left: 0;
  box-shadow: 0 2px 18px rgba(38,50,34,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1160px;
  gap: 30px;
}
header img {
  height: 50px;
  width: auto;
  margin-right: 22px;
  display: block;
  aspect-ratio: 1.8/1;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-right: 18px;
}
header nav a {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1.09rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.18s;
  position: relative;
  z-index: 1;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-gold);
  color: var(--color-bg-dark);
  outline: none;
}
.cta-primary {
  appearance: none;
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-bg-dark);
  border-radius: 13px;
  padding: 11px 30px 12px 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(38,50,34,0.10), 0 0.5px 2px #e9e3bd;
  margin-left: 20px;
  margin-top: 0;
  transition: background 0.24s, color 0.22s, box-shadow 0.22s, transform 0.20s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 2px 16px rgba(53,101,49,0.11);
  transform: translateY(-1px) scale(1.03);
}
@media (max-width: 992px) {
  header .container {
    flex-direction: row;
    gap: 13px;
  }
  header nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 5px;
    padding: 12px 12px;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
    font-size: 1rem;
    padding: 10px 18px 10px 18px;
  }
}

/* =============== MOBILE NAVIGATION =============== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 110;
  background: var(--color-gold);
  color: var(--color-bg-dark);
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 2rem;
  box-shadow: 0 2px 6px rgba(198,170,88,0.14);
  cursor: pointer;
  transition: background 0.2s, transform 0.17s;
}
.mobile-menu-toggle:active { transform: scale(0.97); }
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 150;
  background: rgba(38,50,34,0.98);
  box-shadow: 0 8px 28px rgba(38,50,34,0.24);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 56px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2rem;
  background: none;
  color: var(--color-gold);
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover {
  background: rgba(198,170,88,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 32px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid rgba(242,237,228,0.08);
  width: 100%;
  transition: background 0.19s, color 0.16s;
  border-radius: 7px;
  display: block;
  text-align: left;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--color-bg-dark);
  padding: 36px 0 18px 0;
  color: var(--color-accent);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 42px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 29px;
  margin-bottom: 23px;
}
.footer-nav a {
  color: #eadaae;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 2px 2px;
  border-radius: 7px;
  font-weight: 600;
  transition: color 0.18s, background 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-gold);
  background: rgba(204,203,170,0.11);
}
.contact-info {
  font-size: 1rem;
  color: #e9e1c5;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
  margin-bottom: -3px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .footer-nav {
    margin-bottom: 8px;
  }
}

/* =============================================
   LISTS, BULLETS, ICONS
============================================= */
ul, ol {
  padding-left: 25px;
  margin-bottom: 18px;
}
ul li, ol li {
  padding-left: 2px;
  margin-bottom: 6px;
  font-size: 1rem;
}
ul li strong {
  color: var(--color-gold);
}

/* =============================================
   FORMS & MAPS & CONTACT
============================================= */
.contact-information p, .map p {
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.map {
  background: #f5f1e6;
  border-radius: 10px;
  padding: 22px;
  margin-top: 12px;
}

/* =============================================
   MISSION, SUSTAINABILITY BOXES, HIGHLIGHTS
============================================= */
.mission-statement, .sustainability-commitment, .service-highlights {
  padding: 16px 20px;
  background: #f5f0e5;
  border-left: 3.5px solid var(--color-secondary);
  border-radius: 8px;
  margin: 14px 0 18px 0;
  color: #3e491f;
}
.service-highlights { border-color: var(--color-gold); background: #fffbe2; color: var(--color-primary); font-weight: 600;}

/* =============================================
   BUTTONS & INTERACTIVES
============================================= */
button, .button, input[type="submit"] {
  font-family: var(--font-display);
  padding: 11px 24px;
  font-size: 1.08rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  box-shadow: 0 1px 4px rgba(53,101,49,0.09);
  transition: background 0.19s, color 0.14s, box-shadow 0.19s, transform 0.18s;
}
button:hover, .button:hover, input[type="submit"]:hover,
button:focus, .button:focus, input[type="submit"]:focus {
  background: var(--color-gold);
  color: var(--color-bg-dark);
  box-shadow: 0 6px 12px rgba(198,170,88,0.08);
  outline: none;
  transform: translateY(-2px) scale(1.01);
}
input, textarea, select {
  border: 1.2px solid #bac6ac;
  border-radius: 7px;
  font-size: 1rem;
  padding: 9px 12px;
  font-family: var(--font-body);
  background: #fff;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* =============================================
   COOKIE CONSENT BANNER & MODAL
============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fffbe2;
  color: #312c1b;
  box-shadow: 0 -4px 24px rgba(53,101,49,0.10);
  padding: 20px 30px 20px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 9999;
  transition: transform 0.37s cubic-bezier(.4,0,.2,1);
  border-top: 2.5px solid var(--color-gold);
}
.cookie-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-text {
  flex: 1 1 0;
  font-size: 1.07rem;
  font-family: var(--font-body);
  color: #312c1b;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  background: var(--color-gold);
  color: #222218;
  border: none;
  padding: 9px 17px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(53,101,49,0.08);
  cursor: pointer;
  transition: background 0.19s, color 0.21s, box-shadow 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: #fff;
  outline: none;
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--color-secondary);
  color: #263222;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 21px 7px 18px 6px;
    align-items: flex-start;
  }
  .cookie-banner-buttons { gap: 10px; }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(38,50,34,0.29);
  z-index: 99998;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.26s;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 44px rgba(53,101,49,0.17);
  z-index: 99999;
  width: 96%;
  max-width: 390px;
  padding: 32px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: bounceIn 0.54s cubic-bezier(.4,0,.2,1);
}
@keyframes bounceIn {
  0% { opacity: 0; transform: translate(-50%, -56%) scale(0.88); }
  60% { opacity: 1; transform: translate(-50%, -51%) scale(1.06); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal .cookie-modal-head {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.cookie-modal .cookie-modal-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-family: var(--font-body);
  color: #37411d;
  font-size: 1.02rem;
  font-weight: 600;
}
.cookie-modal .cookie-toggle {
  transform: scale(1.14);
  margin-left: 6px;
}
.cookie-modal .category-essential {
  font-weight: 700;
  color: var(--color-gold);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
}

/* Hide modal by default */
.cookie-modal-backdrop.hide,
.cookie-modal.hide {
  display: none;
  opacity: 0;
  pointer-events: none;
}

/* =============================================
   MICROS - MISC EFFECTS
============================================= */
::-webkit-scrollbar {
  width: 9px;
  background: #e6e3da;
}
::-webkit-scrollbar-thumb {
  background: #c2beae;
  border-radius: 5px;
}

/* Animations for links/buttons */
a, button, .cta-primary {
  transition: color 0.18s, background 0.18s, box-shadow 0.19s, transform 0.15s;
}

/* Selection */
::selection {
  background: var(--color-secondary);
  color: #fff;
}

/* Accessibility outline */
a:focus-visible, .cta-primary:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--color-gold);
  outline-offset: 2.5px;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  :root {
    --border-radius: 8px;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 24px 2px;
  }
  .hero {
    padding: 32px 0 8px 0;
    min-height: 80px;
  }
  .cta, .confirmation {
    padding: 20px 0 18px 0;
    border-radius: 9px;
    margin-bottom: 32px;
  }
}

/* =============================================
   UTILITIES (TOOLCLASSES)
============================================= */
.text-section { margin-bottom: 22px; }
@media (max-width: 700px) {
  .text-section { margin-bottom: 13px; }
}

/* =============================================
   END
============================================= */
