/* =========================================================================
   CSS RESET + NORMALIZE (MOBILE-FIRST, MODERN BROWSER SAFE)
   ========================================================================= */
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;
}
html {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F6F5F2;
  color: #2D5330;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: inherit; }
body { min-height: 100vh; background: #F6F5F2; }
a { color: inherit; text-decoration: none; outline: none; transition: color 0.2s; }
a:focus { outline: 2px solid #2D5330; outline-offset: 2px; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; font-size: inherit; background: none; border: none; cursor: pointer; outline: none; transition: background 0.2s; }
:root {
  --color-primary: #2D5330;
  --color-secondary: #8DB986;
  --color-accent: #F6F5F2;
  --color-text: #2D5330;
  --color-muted: #8DB986;
  --color-card-bg: #fff;
  --color-border: #e4e6e2;
  --shadow-card: 0 2px 16px rgba(45,83,48,0.08);
  --shadow-subtle: 0 1px 6px rgba(45,83,48,0.04);
  --radius-sm: 7px;
  --radius-lg: 14px;
  --transition-fast: 0.16s cubic-bezier(.3,1,.6,1);
}

/* =========================================================================
   TYPOGRAPHY (MINIMALIST HIERARCHY)
   ========================================================================= */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-accent);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.25;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
.text-section ul,
.text-section ol,
.content-wrapper ul,
.content-wrapper ol {
  margin-left: 1.25em;
  margin-bottom: 20px;
  color: var(--color-text);
}
.text-section ul li,
.content-wrapper ul li,
.text-section ol li,
.content-wrapper ol li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* =========================
    SECTIONS + CONTAINERS
========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/******* LAYOUT FLEX WRAPPERS ******/
.card-container, .content-grid, .feature-grid, .features, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px rgba(45,83,48,0.13);
  border-color: var(--color-secondary);
}

.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;
  padding: 24px 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-fast);
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-muted);
  font-style: italic;
}

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

/****** HERO / SPECIAL SECTION STYLES ******/
.hero, .about-hero, .services-hero, .projects-hero, .inspiration-hero, .contact-hero, .blog-hero, .thank-you, .cta-section {
  background: #fff;
  box-shadow: var(--shadow-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 0 30px 0;
  margin-bottom: 60px;
}

/****** BUTTONS AND LINKS (CTA / NAVIGATION) ******/
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.10rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 2px 12px rgba(141,185,134,0.11);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(45,83,48,0.14);
}
.content-wrapper a:not(.cta-btn), .footer-nav a, .footer-legal a, .main-nav a, .mobile-nav a {
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
}
.content-wrapper a:not(.cta-btn):hover, .footer-nav a:hover, .footer-legal a:hover, .main-nav a:hover, .mobile-nav a:hover {
  color: var(--color-secondary);
}

.nav-btn, .main-nav a, .footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

/* =========================================================================
   HEADER + NAVIGATION
   ========================================================================= */
header {
  background: #fff;
  box-shadow: var(--shadow-card);
  z-index: 103;
  position: sticky;
  top: 0;
  width: 100%;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.logo img { height: 44px; width: auto; display: block; }

.main-nav {
  display: none;
}
.main-nav a {
  margin-right: 22px;
  padding: 7px 0;
  border: none;
  background: none;
}
.main-nav a:last-child {
  margin-right: 0;
}
/* BURGER MENU */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(46,80,49,0.99);
  transform: translateX(-100%);
  opacity: 0;
  z-index: 9999;
  overflow-y: auto;
  transition: transform 0.36s cubic-bezier(.4,1,.6,1), opacity 0.23s;
  pointer-events: none;
  padding-top: 36px;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 6px 22px 30px 0;
  font-size: 2.15rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding-left: 42px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 12px 0;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast), background var(--transition-fast);
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* DESKTOP NAV (show on ≥1024px) */
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .main-nav a {
    display: inline-flex;
    padding: 8px 0;
    margin-right: 27px;
    font-size: 1rem;
    color: var(--color-primary);
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-fast), color var(--transition-fast);
  }
  .main-nav a:hover, .main-nav a:focus {
    border-bottom: 2px solid var(--color-secondary);
    color: var(--color-secondary);
  }
  .main-nav a:last-child { margin-right: 0; }
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/******* FOOTER ******/
footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
  padding-top: 38px;
  padding-bottom: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.footer-brand img {
  height: 32px; width: auto;
  margin-bottom: 6px;
}
.footer-brand span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a, .footer-legal a {
  color: var(--color-primary);
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 5px 0;
  transition: color var(--transition-fast), text-decoration var(--transition-fast);
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

@media (min-width: 700px) {
  footer .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 38px;
  }
  .footer-brand { flex: 2; }
  .footer-nav { flex: 3; }
  .footer-legal { flex: 2; }
}

/* =========================================================================
   FLEXBOX UTILITIES FOR LAYOUT
   ========================================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 100%;
}
@media (min-width: 768px) {
  .card-container { gap: 32px; }
}
/* content-grid: for double/triple columns */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* text-image split + centering */
.text-image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
@media (min-width: 850px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
  }
}
/* testimonial cards */
.testimonials .testimonial-card {
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
@media (min-width: 600px) {
  .testimonial-card {
    max-width: 500px;
    min-width: 320px;
  }
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 20px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > div {
  flex: 1 1 190px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 22px 18px 18px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.feature-grid > div img {
  height: 38px; width: auto; margin-bottom: 10px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 5px 28px rgba(45,83,48,0.15);
  border-color: var(--color-secondary);
}
/* Card & Features responsive break */
@media (max-width: 650px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div { min-width: 0; width: 100%; }
}

/* =========================================================================
   FORMS, CONTACT, MAPS (MINIMAL STYLES)
   ========================================================================= */
.contact-details ul {
  padding-left: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  color: var(--color-primary);
}
.contact-details img { height: 23px; width: auto; }

/* Newsletter, Map, etc. */
.newsletter-signup, .map-section {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  padding: 36px 0;
}

/***** Misc. MINIMALIST DECORATIONS *****/
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 36px 0;
}

/* =========================================================================
   SPACING & WHITE SPACE UTILITIES
   ========================================================================= */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mb-5 { margin-bottom: 48px !important; }
.gap-2 { gap: 16px !important; }
.gap-3 { gap: 24px !important; }
.gap-4 { gap: 32px !important; }

/* =========================================================================
   RESPONSIVE: MOBILE-FIRST MEDIA QUERIES
   ========================================================================= */
@media (max-width: 1023px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 97vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid > div { min-width: 0; }
}
@media (max-width: 650px) {
  .container { padding-left: 7px; padding-right: 7px; }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.35rem; }
  section, .section { padding-top: 24px; }
}
@media (max-width: 480px) {
  h1, .h1 { font-size: 1.25rem; }
  .cta-btn { font-size: 1rem; padding: 9px 18px; }
}

/* =========================================================================
   COOKIES BANNER + PREFERENCES MODAL
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 20px 18px;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 18px rgba(45,83,48,0.12);
  z-index: 11000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: cookieBannerFadeIn 0.33s cubic-bezier(.3,1,.6,1);
}
@keyframes cookieBannerFadeIn {
  from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity:1; }
}
.cookie-banner p {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  padding: 9px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  margin-bottom: 0;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  border: 1.5px solid var(--color-secondary);
  color: var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 11111;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(45, 83, 48, 0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 44px rgba(45,83,48,0.18);
  max-width: 92vw; width: 420px;
  padding: 36px 32px 28px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn .43s cubic-bezier(.4,1,.6,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(70px) scale(0.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 5px;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #f6f5f2;
  border-radius: var(--radius-sm);
  padding: 12px 17px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px; height: 18px;
}
.cookie-category .always-on {
  opacity: 0.7;
  font-style: italic;
  color: var(--color-muted);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 14px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}
.cookie-modal-close:hover {
  color: var(--color-secondary);
}

/* =========================================================================
   MICRO-INTERACTIONS (HOVER/FOCUS, SHADOWS, TRANSITIONS)
   ========================================================================= */
.card, .feature-grid > div {
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.card:focus-within, .feature-grid > div:focus-within {
  box-shadow: 0 6px 32px rgba(45,83,48,0.15);
  border-color: var(--color-secondary);
}

.cta-btn, .cookie-btn, .cookie-settings-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

/* ICON EFFECTS */
.contact-details img, .feature-grid img {
  filter: grayscale(0.2);
  transition: filter .18s;
}
.feature-grid > div:hover img, .feature-grid > div:focus-within img { filter: grayscale(0) brightness(1.15); }

/* =========================================================================
   ACCESSIBILITY UTILITIES
   ========================================================================= */
.sr-only {
  position: absolute;
  width: 0; height: 0;
  padding: 0; margin: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); /* IE6, IE7 */
  clip: rect(1px 1px 1px 1px);
  white-space: nowrap;
  border: 0;
}

/* =========================================================================
   GENERAL UTILITIES, MISC, Z-INDEX OVERLAPS
   ========================================================================= */
.z-0 { z-index: 0; }
.z-1 { z-index: 1; }
.z--1 { z-index: -1; }
.relative { position: relative; }

/***** Hide visually in cookie modal overlay by default ******/
body.cookie-modal-open {
  overflow: hidden;
  /* Prevent scroll behind modal */
}

/* =========================================================================
   END OF CSS
   ========================================================================= */
