/* ==========================================================================
   CSS RESET & BASE SETUP
   ========================================================================== */
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;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  color: #3A493A;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F8F9;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
:focus {
  outline: 2px solid #537E4B;
  outline-offset: 2px;
}

/* ---------------------------------------------
   BRAND/NATURE ORGANIC COLOR PALETTE
---------------------------------------------- */
:root {
  --color-primary: #1A2330;
  --color-secondary: #527187;
  --color-accent: #F6F8F9;
  --color-green: #537E4B;
  --color-earth1: #B5A089;
  --color-earth2: #E5DECE;
  --color-brown: #7B5E3A;
  --color-offwhite: #F6F8F9;
  --color-grey: #425046;
}

/* ---------------------------------------------
   TYPOGRAPHY
---------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #253821;
  font-weight: 700;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.12;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: #537E4B;
  font-weight: 600;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 500;
}
p, li, blockquote, label, .blog-meta, .client-info {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #425046;
  font-weight: 400;
}
p {
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  padding-left: 18px;
  border-left: 3px solid #B5A089;
  color: #3A493A;
  margin-bottom: 12px;
}
strong {
  color: #253821;
}

/* ---------------------------------------------
   CONTAINER & SPACING
---------------------------------------------- */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1160px;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 18px rgba(83, 126, 75, 0.04);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

/* ---------------------------------------------
   HEADER / NAVIGATION
---------------------------------------------- */
header {
  background: var(--color-earth2);
  box-shadow: 0 1px 15px 0 rgba(83, 126, 75, 0.05);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  margin-bottom: 36px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 13px 20px 16px 22px/22px 16px 20px 13px;
  box-shadow: 0 2px 16px 0 rgba(127, 149, 91, 0.08);
}

.desktop-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.desktop-nav a {
  color: #425046;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.23s, border 0.23s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: var(--color-green);
  border-bottom: 2px solid var(--color-green);
}

.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--color-green);
  color: #fff !important;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 40px;
  padding: 12px 30px;
  box-shadow: 0 2px 10px 0 rgba(75, 130, 88, 0.08);
  transition: background 0.2s, box-shadow 0.22s, transform 0.18s;
  border: none;
  cursor: pointer;
  margin-left: 24px;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #45663d;
  box-shadow: 0 6px 20px 0 rgba(83, 126, 75, 0.14);
  transform: translateY(-2px) scale(1.03);
}

@media (max-width: 1020px) {
  .desktop-nav {
    gap: 10px;
  }
  .btn.btn-primary {
    margin-left: 10px;
    padding: 10px 20px;
  }
}

@media (max-width: 880px) {
  header .container {
    flex-direction: column;
    gap: 8px;
  }
  .btn.btn-primary {
    margin-left: 0;
    margin-top: 6px;
  }
}

/* ---------------------------------------------
   MOBILE MENU
---------------------------------------------- */
.mobile-menu-toggle {
  position: fixed;
  right: 20px;
  top: 18px;
  z-index: 1202;
  font-size: 2.15rem;
  background: var(--color-green);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(75, 130, 88, 0.12);
  cursor: pointer;
  transition: background .2s;
  outline: none;
  display: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #45663d;
}
@media (max-width: 980px) {
  .desktop-nav, .btn.btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,248,249,0.97);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.55,.05,.55,.95);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 38px 24px 8px 0;
  background: var(--color-green);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: none;
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px 0 rgba(75, 130, 88, 0.14);
  cursor: pointer;
  transition: background .2s;
  z-index: 1203;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #45663d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 32px 0 32px;
  width: 100%;
  height: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #537E4B;
  border-radius: 18px;
  padding: 12px 18px;
  transition: background .14s, color .14s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-earth2);
  color: #253821;
}

@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ---------------------------------------------
   MAIN & SECTIONS STYLES
---------------------------------------------- */
main {
  width: 100%;
}

section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
section > .container > .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  section {
    margin-bottom: 30px;
    padding: 26px 0 20px 0;
  }
}

/* ---------------------------------------------
   FLEXBOX LAYOUTS
---------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(127,149,91,0.10);
  position: relative;
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #E5DECE;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(83,126,75,0.07);
  flex-wrap: wrap;
}
.testimonial-card blockquote {
  color: #253821;
  font-size: 1.05rem;
  flex: 1 1 160px;
}
.client-info {
  font-size: .98rem;
  font-style: normal;
  font-weight: 600;
  color: #7B5E3A;
}

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

.feature-grid, .service-listing, .team-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.feature-grid li, .feature-grid > div,
.service-listing .service-item, .team-list .team-bio, .blog-list .blog-post {
  flex: 1 1 210px;
  min-width: 225px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px rgba(127,149,91,0.09);
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
@media (max-width: 740px){
  .feature-grid,
  .service-listing,
  .team-list,
  .blog-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .feature-grid > div,
  .service-listing .service-item, .team-list .team-bio, .blog-list .blog-post {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
  }
}

/* FAQ LIST, OL, UL */
.faq-list h3 {
  color: #537E4B;
  margin: 18px 0 4px 0;
  font-size: 1.07rem;
}
.faq-list p {
  margin-bottom: 2px;
}
.faq-list ul, .faq-list ol {
  gap: 8px;
}

ul.feature-list, ul.feature-grid, ol.step-by-step-guide {
  margin-bottom: 20px;
}
ul.feature-list li, ol.step-by-step-guide li {
  margin-bottom: 9px;
  position: relative;
  padding-left: 30px;
  color: #425046;
  line-height: 1.55;
}
ul.feature-list li img, .feature-grid li img, .feature-grid > div img {
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
}
ul.feature-list li img {
  left: 0; top: 3px;
}
ul.feature-list li {
  padding-left: 32px;
}

ol.step-by-step-guide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: steps;
  margin-bottom: 8px;
}
ol.step-by-step-guide li {
  position: relative;
  padding-left: 2.5em;
  margin-bottom: 8px;
}
ol.step-by-step-guide li::before {
  counter-increment: steps;
  content: counter(steps) ". ";
  color: #537E4B;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* ---------------------------------------------
   BLOG POST STYLE
---------------------------------------------- */
.blog-post {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 8px rgba(127, 149, 91, 0.08);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.blog-meta {
  color: #7B5E3A;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* ---------------------------------------------
   CONTACT INFO
---------------------------------------------- */
.contact-info, .map-snippet, .confirmation-msg {
  background: #E5DECE;
  border-radius: 15px;
  padding: 15px 18px;
  margin-bottom: 22px;
  box-shadow: 0 1px 6px 0 rgba(127,149,91,0.06);
}
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  color: #537E4B;
}
.contact-info img {
  width: 22px; height: 22px;
}

/* ---------------------------------------------
   BUTTONS
---------------------------------------------- */
.btn, a.btn {
  cursor: pointer;
  border-radius: 40px;
  transition: background 0.18s, color 0.12s, box-shadow .15s, transform .17s;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  text-align: center;
  outline: none;
  background: var(--color-green);
  color: #fff;
  padding: 12px 30px;
  box-shadow: 0 2px 10px 0 rgba(75, 130, 88, 0.08);
  margin-top: 12px;
}
.btn.btn-primary, a.btn.btn-primary {
  background: var(--color-green);
  color: #fff;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #376832;
  color: #fff;
  box-shadow: 0 4px 18px rgba(83, 126, 75, 0.17);
}

/* ---------------------------------------------
   CARDS & CARD GRIDS
---------------------------------------------- */
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(127,149,91,0.10);
  margin-bottom: 24px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

/* ---------------------------------------------
   FOOTER STYLES
---------------------------------------------- */
footer {
  background: var(--color-earth2);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -2px 10px rgba(127,149,91,0.07);
  margin-top: 30px;
  padding: 0 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
}
footer img {
  width: 54px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 16px 12px / 12px 18px;
  box-shadow: 0 1px 7px 0 rgba(127, 149, 91, 0.07);
}
footer nav {
  display: flex;
  gap: 14px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  color: #425046;
  margin-bottom: 9px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #537E4B;
  transition: color 0.16s, text-decoration 0.12s;
  font-size: 0.99rem;
  padding: 0 2px;
  border-bottom: 1.5px solid transparent;
}
footer nav a:hover {
  color: #253821;
  border-bottom: 1.5px solid #B5A089;
}
.footer-contact {
  color: #425046;
  font-size: 0.95rem;
  text-align: center;
}
.footer-copy {
  font-size: .90rem;
  color: #A29577;
  margin-top: 8px;
}
@media (max-width: 768px) {
  footer .container {
    padding-top: 17px;
    gap: 14px;
  }
}

/* ---------------------------------------------
   ORGANIC SHAPES & NATURE-INSPIRED TEXTURES
---------------------------------------------- */
.section, .card, .testimonial-card, .contact-info, .map-snippet, .features-highlights {
  border-radius: 32px 24px 27px 36px/28px 35px 22px 30px;
  box-shadow: 0 4px 22px rgba(127,149,91,0.09);
  border: 1px solid #E5DECE;
}
@media (max-width: 620px){
  .section, .card, .testimonial-card, .contact-info, .map-snippet, .features-highlights {
    border-radius: 15px 21px 14px 18px/17px 18px 17px 17px;
  }
}

/* Subtle paper-fibre texture for big blocks */
.section, .content-wrapper, .testimonial-card {
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg"><ellipse fill="%23e5dece" fill-opacity="0.05" cx="70" cy="10" rx="16" ry="6"/><ellipse fill="%23537e4b" fill-opacity="0.02" cx="20" cy="90" rx="25" ry="10"/><rect fill="%237b5e3a" fill-opacity="0.008" width="100" height="100"/></svg>');
}

/* ---------------------------------------------
   RESPONSIVE / MOBILE
---------------------------------------------- */
@media (max-width: 990px){
  .content-grid, .feature-grid, .service-listing, .team-list, .blog-list {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px){
  .container {
    padding: 0 7px;
  }
  .section {
    margin-bottom: 32px;
    padding: 18px 2px;
  }
  .feature-grid li, .feature-grid > div, .service-item, .team-bio, .blog-post {
    padding: 13px 7px;
  }
  .testimonial-card {
    padding: 16px 6px;
  }
}

/* Flex direction for text-image sections */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ---------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
---------------------------------------------- */
.btn, .mobile-menu-toggle, .mobile-menu-close, .desktop-nav a, footer nav a {
  transition: background .2s, color .14s, box-shadow .17s, transform .17s;
}
.card, .service-item, .feature-grid > li, .blog-post, .team-bio, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.19s;
}
.card:hover, .service-item:hover, .feature-grid > li:hover, .blog-post:hover, .team-bio:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(83, 126, 75, 0.14);
  transform: translateY(-4px) scale(1.016);
}

/* ---------------------------------------------
   COOKIE BANNER
---------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #EFEDE5;
  color: #253821;
  padding: 22px 20px;
  z-index: 1301;
  box-shadow: 0 -4px 20px rgba(127,149,91,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-btn {
  border: none;
  border-radius: 28px;
  background: var(--color-green);
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  margin: 0 3px 0 0;
  transition: background .2s;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 10px 0 rgba(75, 130, 88, 0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #253821;
}
.cookie-btn.cookie-settings {
  background: var(--color-secondary);
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #425046;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  z-index: 1302;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 60%) scale(0.9);
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 9px 44px 0 rgba(127,149,91,0.18);
  width: 98vw;
  max-width: 410px;
  padding: 34px 26px 22px 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.44,.62,.21,1.15), transform 0.28s cubic-bezier(.52,.04,.61,1.20);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  color: #253821;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-toggle {
  min-width: 44px;
  min-height: 24px;
  position: relative;
  background: #DCF2E6;
  border-radius: 12px;
  border: solid 1.7px #B5A089;
  cursor: pointer;
  outline: none;
}
.cookie-toggle input[type=checkbox]{
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  top:2px;
  left:2px;
  transition: left .19s, background .18s;
  width: 20px; height: 20px; background: var(--color-green);
  border-radius: 12px;
  pointer-events: none;
}
.cookie-toggle input:checked + .slider {
  background: #253821;
  left: 22px;
}
.cookie-category label {
  font-size: 1rem;
  color: #253821;
  font-weight: 600;
}
.cookie-modal .cookie-btn-group {
  justify-content: center;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  font-size: 0.98rem;
}
.cookie-modal .cookie-info {
  font-size: .97rem;
  color: #425046;
  margin-bottom: 2px;
}
@media (max-width: 530px){
  .cookie-modal {
    max-width: 97vw;
    padding: 18px 5px 12px 8px;
  }
}

/* Modal overlay blur */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1300;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,41,32,0.19);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
}
.cookie-modal.open ~ .cookie-modal-overlay {
  display: block;
}

/* ---------------------------------------------
   UTILITIES & SMALL CLASSES
---------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-start { align-items: flex-start; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }

/* ---------------------------------------------
   CUSTOM SCROLLBAR for overflow panels
---------------------------------------------- */
::-webkit-scrollbar {
  width: 7px;
  background: #E5DECE;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #B5A089;
  border-radius: 10px;
}

/* ---------------------------------------------
   ACCESSIBILITY
---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    scroll-behavior: auto !important;
    animation-duration: 0s !important;
  }
}

/* ---------------------------------------------
   SELECTION COLOR
---------------------------------------------- */
::selection {
  background: #DCF2E6;
  color: #253821;
}

/* ---------------------------------------------
   HIDE ELEMENTS
---------------------------------------------- */
[hidden], .d-none {
  display: none !important;
}
