/* CSS RESET & NORMALIZATION */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  background: #F6F5F0;
  font-family: 'Roboto', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  color: #223A4B;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a {
  color: #223A4B;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus {
  outline: 2px solid #223A4B;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #223A4B;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.375rem; /* 38px */
  line-height: 1.13;
}
h2 {
  font-size: 2rem; /* 32px */
}
h3 {
  font-size: 1.375rem; /* 22px */
}
h4 {
  font-size: 1.125rem; /* 18px */
}
h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
  color: #223A4B;
  font-size: 1rem;
}
strong, b {
  font-weight: 600;
}

/* LAYOUT & CONTAINER CLASSES */
.container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 20px 22px 20px;
  background: #fff;
  position: relative;
  border-bottom: 1px solid #e2e7ed;
  z-index: 100;
}
header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #223A4B;
  letter-spacing: 0.02em;
  padding: 6px 3px;
  transition: color 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: #89A17A;
}
.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #223A4B;
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.025em;
  font-size: 1.125rem;
  border: none;
  border-radius: 7px;
  padding: 11px 30px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(34, 58, 75, 0.08);
  transition: background 0.2s, box-shadow 0.22s, color 0.2s;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #89A17A;
  color: #223A4B !important;
  box-shadow: 0 4px 24px 0 rgba(34, 58, 75, 0.14);
}
.cta-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #223A4B;
  font-weight: 600;
  font-size: 1.04rem;
  border: 1.5px solid #223A4B;
  border-radius: 7px;
  padding: 10px 26px;
  display: inline-block;
  margin-top: 14px;
  margin-left: 0;
  cursor: pointer;
  outline: none;
  transition: background 0.22s, color 0.22s, border 0.18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #e9ecef;
  color: #223A4B;
  border-color: #89A17A;
}
button {
  font-family: inherit;
  font-size: 1rem;
}

/* SPACING & STRUCTURE RULES */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 4px 18px rgba(34,58,75,0.045);
  border: 1px solid #e2e7ed;
  padding: 28px 20px 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px rgba(34,58,75,0.09);
  transform: translateY(-2px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(34,58,75,0.06);
  border-left: 8px solid #89A17A;
  font-size: 1.05rem;
  max-width: 700px;
}
.testimonial-card blockquote {
  color: #223A4B;
  font-size: 1.09rem;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.7;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #89A17A;
  font-weight: 600;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.feature-grid > div {
  flex: 1 1 235px;
  min-width: 210px;
  min-height: 160px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(34,58,75,0.045);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.16s, transform 0.16s;
  border: 1px solid #e2e7ed;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 20px rgba(34, 58, 75, 0.09);
  transform: translateY(-1.5px) scale(1.01);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.feature-grid h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}
.feature-grid p {
  font-size: 0.98rem;
}

.project-card {
  background: #F6F5F0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(34,58,75,0.03);
  border-left: 5px solid #223A4B;
  padding: 24px 20px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-accordion h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #223A4B;
}
.faq-accordion p {
  color: #445465;
  font-size: 0.99rem;
}

.office-hours, .map-snippet {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(34,58,75,0.045);
  margin-bottom: 18px;
  padding: 16px 20px 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.office-hours h3, .map-snippet h3 {
  margin-bottom: 7px;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 18px;
}
.contact-details > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 200px;
  background: #fff;
  padding: 12px 18px 12px 14px;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(34,58,75,0.035);
}
.contact-details img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-right: 2px;
}

/* Spacing Requirements */
.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; }

/* FOOTER  */
footer {
  background: #223A4B;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 28px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.footer-inner img {
  width: 44px;
  margin-bottom: 9px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #cad6de;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 3px;
  transition: color 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  color: #89A17A;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.94rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e4e8ed;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #223A4B;
  cursor: pointer;
  margin-left: 16px;
  z-index: 300;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.18s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e2e7ed;
  color: #223A4B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 58, 75, 0.96);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 18px 24px;
  align-self: flex-end;
  cursor: pointer;
  padding: 2px 11px;
  border-radius: 5px;
  transition: background 0.18s, color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #89A17A;
  color: #223A4B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 27px;
  width: 100%;
  padding: 24px 44px 0 36px;
  margin-top: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.014em;
  font-weight: 600;
  width: 100%;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(138,158,180,0.12);
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #89A17A;
}

/* Hide desktop nav on mobile, show mobile toggle */
@media (max-width: 1050px) {
  .header-inner nav,
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1051px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 8888;
  background: #223A4B;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 10px 22px 10px;
  gap: 32px;
  box-shadow: 0px -5px 38px rgba(34,58,75,0.08);
  width: 100vw;
  transition: transform 0.35s cubic-bezier(0.8,0,0.32,1), opacity 0.22s;
}
.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 540px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 23px;
  margin-right: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34,58,75,0.06);
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  outline: none;
}
.cookie-banner .cookie-btn.accept {
  background: #89A17A;
  color: #223A4B;
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: #a3bc91;
  color: #223A4B;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #223A4B;
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: #e2e7ed;
  color: #223A4B;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #89A17A;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: #e2e7ed;
  color: #223A4B;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,58,75,0.48);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  color: #223A4B;
  border-radius: 13px;
  box-shadow: 0 10px 36px rgba(34,58,75,0.14);
  padding: 39px 36px 32px 36px;
  width: 96vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  animation: cookie-modal-in 0.45s cubic-bezier(0.62,0,0.48,1) forwards;
}
@keyframes cookie-modal-in {
  from { transform: translateY(80px) scale(0.95); opacity:0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 0.5em;
  font-size: 1.28rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  background: #f5f8fa;
  border-radius: 6px;
  padding: 10px 18px;
  margin-bottom: 7px;
}
.cookie-modal label {
  cursor: pointer;
  font-size: 1rem;
  color: #223A4B;
  user-select: none;
}
.cookie-toggle {
  width: 42px;
  height: 23px;
  background: #e2e7ed;
  border-radius: 12px;
  position: relative;
  margin-left: 12px;
  transition: background 0.2s;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle span {
  position: absolute;
  top: 3px; left: 3px;
  width: 17px; height: 17px;
  background: #89A17A;
  border-radius: 50%;
  transition: left 0.22s, background 0.18s;
}
.cookie-toggle input:checked + span {
  left: 22px;
  background: #223A4B;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 6px;
  align-items: center;
}
.cookie-modal .cookie-btn {
  border-radius: 5px;
  padding: 8px 23px;
  background: #223A4B;
  color: #fff;
  font-weight: 600;
}
.cookie-modal .cookie-btn.secondary {
  background: #fff;
  color: #223A4B;
  border: 1.5px solid #223A4B;
}
.cookie-modal .cookie-btn:hover,
.cookie-modal .cookie-btn:focus {
  background: #89A17A;
  color: #223A4B;
}
.cookie-modal .cookie-btn.secondary:hover,
.cookie-modal .cookie-btn.secondary:focus {
  background: #e2e7ed;
  color: #223A4B;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 19px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #223A4B;
  cursor: pointer;
  transition: background 0.18s;
  border-radius: 4px;
  padding: 3px 7px;
}
.cookie-modal .cookie-modal-close:focus,
.cookie-modal .cookie-modal-close:hover {
  background: #e2e7ed;
}

/* Miscellaneous */
hr {
  border: none;
  border-top: 1px solid #e2e7ed;
  margin: 28px 0;
}
blockquote {
  border-left: 3.5px solid #89A17A;
  margin-left: 0;
  padding-left: 16px;
  font-style: italic;
  background: none;
}

/* Responsive Design: Mobile-first */
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }
  .office-hours, .map-snippet, .contact-details > div {
    font-size: 0.97rem;
    padding: 10px 10px 10px 10px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.26rem;
  }
  .header-inner {
    flex-direction: row;
    gap: 10px;
    padding: 15px 10px;
  }
  .footer-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 15px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    padding: 15px 10px 13px 15px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 4px 18px 10px;
  }
}
@media (max-width: 500px) {
  section, .section {
    padding: 24px 3vw;
  }
  .feature-grid > div,
  .card {
    padding: 16px 8px 14px 9px;
  }
  .cookie-modal {
    padding: 17px 6vw 13px 6vw;
  }
  .footer-inner {
    padding: 0 3vw;
  }
}

/* Font import (should be in HTML, but for completeness... */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* Hide utility for JS */
.is-hidden { display: none !important; }

/* Custom scrollbar for modern look */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e2e7ed;
  border-radius: 20px;
}
::-webkit-scrollbar-track {
  background: #fff;
}

/* Animations */
.fade-in {
  animation: fadeInSmooth 0.66s cubic-bezier(0.62,0,0.48,1) forwards;
}
@keyframes fadeInSmooth {
  0% { opacity: 0;transform: translateY(12px); }
  100% { opacity: 1;transform: none; }
}

/* Accessibility Focus Styles */
a:focus,
button:focus,
.cta-primary:focus,
.cta-secondary:focus,
.mobile-menu-toggle:focus {
  outline: 2px solid #89A17A;
  outline-offset: 2px;
  z-index: 20;
}

/* Utility for spacing large (for headings etc) */
.mt-36 { margin-top: 36px; }
.mb-36 { margin-bottom: 36px; }

/* Hide elements for screen readers only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
