/* -------------------------------------------------------
   CSS Reset & Base
---------------------------------------------------------*/
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,
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;
}
/* HTML5 display-role reset */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FFFDFB;
  color: #314354;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
a {
  color: #314354;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #7AA486;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}

/* -------------------------------------------------------
   Typography 
---------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: #314354;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #38535d;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  color: #56705B;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #3e4d54;
}
strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* -------------------------------------------------------
   Container & Main Structure
---------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* Sections & Cards - Spacing/Alignment Patterns */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 24px 0 rgba(139, 102, 62,0.085);
  position: relative;
  background: #FFFDFB;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 12px 36px 0 rgba(139, 102, 62,0.12);
}
.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;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 24px 26px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(122,164,134,0.09);
  min-width: 260px;
  max-width: 370px;
  margin-bottom: 20px;
  border: 1px solid #f1eadd;
}
.testimonial-card p {
  color: #314354;
  font-size: 1.05rem;
}
.testimonial-card span {
  color: #a4866f;
  font-size: 0.99rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid,
.services-grid,
.tips-teasers,
.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.features-grid > div,
.services-grid > div,
.tips-teasers > div,
.project-highlights > div {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(122,164,134, 0.07);
  padding: 26px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.features-grid > div:hover,
.services-grid > div:hover,
.tips-teasers > div:hover {
  box-shadow: 0 10px 32px 0 rgba(139, 102, 62, 0.10);
  transform: translateY(-4px) scale(1.025);
}
.services-grid .price {
  display: inline-block;
  margin-top: 4px;
  font-weight: bold;
  color: #7AA486;
  font-size: 1.05rem;
}

/* For case-study-summaries list */
.case-study-summaries ul {
  margin-top: 15px;
  margin-bottom: 10px;
}

/* Contact info blocks */
.contact-info, .contact-info-full, .map-minimal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(49, 67, 84, 0.06);
  padding: 24px 18px;
  margin-bottom: 20px;
}
.featured-articles {
  background: #FCF7F5;
  border-radius: 14px;
  padding: 18px 22px;
  color: #3e4d54;
  margin-top: 12px;
}

.trust-signals {
  margin-top: 18px;
  font-size: 0.97rem;
  color: #7AA486;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* -------------------------------------------------------
   Header & Navigation
---------------------------------------------------------*/
header {
  background: #FFFDFB;
  box-shadow: 0 4px 20px 0 rgba(49, 67, 84, 0.045);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 22px;
}
header a img {
  height: 38px;
  border-radius: 0;
  margin-right: 16px;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-right: 18px;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 0 10px 0;
  color: #495b6a;
  border-radius: 8px;
  transition: background 0.13s, color 0.16s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: #F3F6F8;
  color: #314354;
}

/* Burger Button */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #7AA486;
  cursor: pointer;
  margin-left: 16px;
  display: none;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f9f2e7;
}

.btn-primary {
  display: inline-block;
  background: #7AA486;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 26px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.20s, transform 0.13s;
  box-shadow: 0 6px 24px 0 rgba(122,164,134,0.08);
  margin-left: 18px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #56705B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 32px 0 rgba(122,164,134,0.14);
}

/* Mobile Menu Overlay Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F3F6F8ee;
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 28px 18px 28px;
  box-shadow: 0 0 0 100vw rgba(49,67,84, 0.14);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.59,.02,.28,1.01);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #7AA486;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 7px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f9f2e7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.14rem;
  color: #38535d;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e6efe5;
  color: #56705B;
}

/* Hide desktop nav, show burger on mobile */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Hamburger on the right */
@media (max-width: 600px) {
  header .container {
    flex-direction: row;
    gap: 12px;
  }
}

/* -------------------------------------------------------
   Hero / Banner
---------------------------------------------------------*/
.hero {
  background: linear-gradient(135deg, #F6EBD7 45%, #f8f6f3 100%);
  border-radius: 0 0 34px 34px;
  margin-bottom: 65px;
  box-shadow: 0 9px 36px 0 rgba(139, 102, 62,0.07);
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
}
.hero h1 {
  color: #2e493d;
}
.hero p {
  color: #4d5e51;
  font-size: 1.09rem;
  margin-bottom: 16px;
}

/* -------------------------------------------------------
   Footer
---------------------------------------------------------*/
footer {
  background: #FFFFFF;
  box-shadow: 0 -3px 20px 0 rgba(49,67,84, 0.055);
  padding: 26px 0 18px 0;
  margin-top: 36px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-logo img {
  height: 38px;
  opacity: 0.85;
  margin-bottom: 9px;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 6px;
}
footer nav.footer-nav a {
  font-size: 0.99rem;
  color: #56705B;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.12s;
}
footer nav.footer-nav a:hover, footer nav.footer-nav a:focus {
  background: #F3F6F8;
}
footer p {
  font-size: 0.97rem;
  color: #8c8b88;
  margin-top: 8px;
}

/* -------------------------------------------------------
   Cookie Consent Banner
---------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff6e7;
  box-shadow: 0 -4px 28px 0 rgba(139,102,62,0.13);
  z-index: 10020;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 12px;
  font-size: 1rem;
  transition: transform 0.25s, opacity 0.2s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(48px);
}
.cookie-banner p {
  margin: 0 12px 0 0;
  color: #694c2c;
}
.cookie-banner .cookie-btn {
  border: none;
  padding: 10px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.13s, color 0.14s, box-shadow 0.13s;
}
.cookie-banner .cookie-btn.accept {
  background: #7AA486;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(122,164,134,0.08);
}
.cookie-banner .cookie-btn.accept:hover{
  background: #56705B;
}
.cookie-banner .cookie-btn.reject {
  background: #e5b286;
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #be915f;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  border: 1px solid #e5b286;
  color: #a4866f;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #f8ecd9;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(49,67,84,0.28);
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(49,67,84, 0.12);
  max-width: 90vw;
  min-width: 300px;
  max-width: 430px;
  padding: 32px 28px 26px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10033;
  margin: 0 14px;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 16px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #7AA486;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
}
.cookie-modal .close-cookie-modal:hover,
.cookie-modal .close-cookie-modal:focus {
  background: #f8ecd9;
}
.cookie-modal .cookie-categories {
  margin-top: 18px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f6f8;
  gap: 20px;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #314354;
  cursor: pointer;
}
.cookie-modal .cookie-category .cookie-toggle {
  margin-left: auto;
}
.cookie-modal .cookie-btns {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  flex-direction: row;
}
/* Toggle switch for cookies */
.cookie-toggle {
  position: relative;
  width: 38px;
  height: 22px;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #e6efe5;
  border-radius: 14px;
  transition: background 0.16s;
}
.cookie-toggle input:checked + .slider {
  background: #7AA486;
}
.cookie-toggle .slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 100%;
  box-shadow: 0 1px 3px 0 rgba(49,67,84, 0.07);
  transition: transform 0.2s;
}
.cookie-toggle input:checked + .slider:before {
  transform: translateX(16px);
}


/* -------------------------------------------------------
   Misc: Price, Lists, etc.
---------------------------------------------------------*/
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #7AA486;
  margin-top: 5px;
  font-size: 1.06rem;
}
.text-section {
  margin-bottom: 18px;
}
.text-section ul, .content-wrapper ul, .case-study-summaries ul {
  margin-bottom: 16px;
  list-style: disc inside;
}
.text-section li, .content-wrapper li, .case-study-summaries li {
  margin-bottom: 8px;
  color: #3e4d54;
  font-size: 1rem;
}

/* -------------------------------------------------------
   Animations, Transitions & Effects
---------------------------------------------------------*/
*, *:before, *:after {
  box-sizing: border-box;
}

section,
.card,
.features-grid div,
.services-grid div,
.hero {
  transition: box-shadow 0.18s, background 0.14s, transform 0.2s;
}

a, .btn-primary, .desktop-nav a, .footer-nav a, .mobile-nav a {
  transition: color 0.15s, background 0.14s, box-shadow 0.18s, transform 0.15s;
}


/* -------------------------------------------------------
   Responsive Design (Mobile-First)
---------------------------------------------------------*/
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
}
@media (max-width: 880px) {
  .features-grid > div,
  .services-grid > div {
    max-width: 48%;
    min-width: 180px;
  }
  .testimonial-card {
    max-width: 46vw;
    min-width: 170px;
    padding: 16px 9px;
  }
}
@media (max-width: 700px) {
  .hero {
    padding: 24px 0;
    border-radius: 0 0 18px 18px;
  }
  .features-grid,
  .services-grid,
  .tips-teasers,
  .project-highlights {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div,
  .services-grid > div,
  .tips-teasers > div,
  .project-highlights > div {
    max-width: 100%;
    min-width: 0;
  }
  .testimonial-card {
    max-width: 99vw;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .content-wrapper, .footer .container {
    gap: 14px;
  }
  main section, .section {
    padding: 24px 4px;
    margin-bottom: 38px;
  }
  .hero h1 {
    font-size: 1.38rem;
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 0.99rem;
  }
  footer nav.footer-nav {
    gap: 8px;
    font-size: 0.93rem;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 530px) {
  .testimonial-card {
    padding: 12px 2px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.96rem;
    padding: 12px 4px;
  }
}

/* -------------------------------------------------------
   Util & Misc Styles (plus Compliance with Mandates)
---------------------------------------------------------*/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; 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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Accessibility: Focus Outline */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid #7AA486;
  outline-offset: 1.5px;
}

/* Hide scroll for modal open (detectable via adding .overflow-hidden to html or body)*/
.overflow-hidden {
  overflow: hidden !important;
}

/* END OF CSS */