/* ===================================================================  
   CSS RESET & NORMALIZE – Ensures cross-browser consistency 
   =================================================================== */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFFDFB;
  color: #24303E;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}
a {
  color: #24303E;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #916014;
  outline: none;
}
ul, ol {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ===================================================================  
   BASE TYPOGRAPHY 
   =================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: #24303E;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.22;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
strong {
  font-weight: 700;
}
.text-section {
  color: #25323F;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
/* Utility classes */
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }

/* ===================================================================  
   CONTAINER, SECTION, GENERAL LAYOUT 
   =================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFFEE;
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(243, 196, 111, 0.10), 0 1.5px 3px rgba(36, 48, 62, 0.03);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
  align-items: flex-start;
}

/* ===================================================================  
   HEADER & NAVIGATION 
   =================================================================== */
header {
  background: #FFF6EA;
  box-shadow: 0 2px 12px 0 rgba(36,48,62,0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 24px;
}
header img {
  max-height: 48px;
  border-radius: 14px;
}
.desktop-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #4E4230;
  padding: 7px 13px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.desktop-nav a:hover,
.desktop-nav a:focus {
  background: #F3C46F;
  color: #24303E;
}
.primary-cta, .secondary-cta {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F3C46F;
  color: #24303E;
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 34px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(243, 196, 111, 0.20), 0 0.5px 1.5px rgba(36,48,62,0.03);
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s, color 0.18s, transform 0.19s;
  text-align: center;
  display: inline-block;
  line-height: 1.2;
}
.primary-cta:hover, .primary-cta:focus {
  background: #FFD682;
  color: #916014;
  transform: translateY(-2px) scale(1.031);
}
.secondary-cta {
  background: #24303E;
  color: #F3C46F;
  font-weight: 500;
  border: 2px solid #F3C46F;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #FFF6EA;
  color: #24303E;
}
.mobile-menu-toggle {
  background: #F3C46F;
  color: #24303E;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  display: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 7px rgba(243, 196, 111, 0.16);
  transition: background 0.15s, color 0.15s, transform 0.16s;
  z-index: 1101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFD682;
  color: #916014;
  transform: scale(1.07);
}

/* ===================================================================  
   MOBILE MENU  
   =================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(243, 196, 111, 0.97);
  z-index: 1200;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.77,.2,.32,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 0 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 30px 32px 8px 0;
  font-size: 2.2rem;
  background: #FFFDFB;
  color: #916014;
  border: none;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(243, 196, 111, 0.18);
  transition: background 0.14s, color 0.14s, transform 0.13s;
  z-index: 1201;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFD682;
  color: #24303E;
  transform: scale(1.08);
}
.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 40px;
  padding-right: 20px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #24303E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 10px;
  width: 100%;
  transition: background 0.17s, color 0.17s;
  min-width: 120px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF9EF;
  color: #916014;
}

/* ===================================================================  
   HERO SECTION 
   =================================================================== */
.hero {
  background: #F3C46F19;
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 0 32px 0;
  box-shadow: 0 5px 34px rgba(243, 196, 111, 0.09);
}
.hero .container {
  align-items: stretch;
}
.hero .content-wrapper {
  max-width: 740px;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #24303E;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  color: #33404f;
}
.hero .primary-cta {
  margin-top: 12px;
  margin-left: 0;
}

/* ===================================================================  
   FEATURE GRID, CARDS, AND FLEXBOX LAYOUTS  
   =================================================================== */
.feature-grid, .card-container, .card-grid, .content-grid  {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.feature-grid > div,
.card {
  background: #FFF9EF;
  border-radius: 20px;
  box-shadow: 0 2.5px 14px rgba(243, 196, 111, 0.10);
  padding: 30px 22px 26px 22px;
  flex: 1 1 260px;
  min-width: 230px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-grid > div:hover, .card:hover {
  box-shadow: 0 7px 28px rgba(243, 196, 111, 0.14), 0 1.5px 4px rgba(36, 48, 62, 0.04);
  transform: translateY(-4px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* ===================================================================  
   SERVICE / FEATURE LISTS 
   =================================================================== */
ul {
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
li {
  line-height: 1.6;
  color: #25323F;
  font-size: 1.04rem;
  margin-bottom: 12px;
}

/* ===================================================================  
   TESTIMONIALS  
   =================================================================== */
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF6EA;
  color: #24303E;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2.5px 18px rgba(243, 196, 111, 0.14);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  max-width: 700px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 38px rgba(243, 196, 111, 0.22);
  transform: translateY(-3px) scale(1.022);
}
.testimonial-card p {
  flex: 1 1 auto;
  font-size: 1.15rem;
  color: #24303E;
  margin-bottom: 0;
}
.testimonial-card span {
  font-family: 'Roboto', Arial, sans-serif;
  color: #916014;
  font-weight: 500;
  font-size: 1rem;
}
.testimonial-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ===================================================================  
   ARTICLE & BLOG SECTIONS
   =================================================================== */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 20px;
}
.article-list article {
  background: #FFF9EF;
  padding: 26px 22px;
  border-radius: 18px;
  flex: 1 1 275px;
  min-width: 220px;
  box-shadow: 0 2px 10px rgba(243, 196, 111, 0.07);
  transition: box-shadow 0.18s, transform 0.13s;
  margin-bottom: 20px;
}
.article-list article:hover {
  box-shadow: 0 6px 26px rgba(243, 196, 111, 0.17);
  transform: translateY(-3px) scale(1.016);
}
.category-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.category-filters a {
  background: #F3C46F;
  color: #24303E;
  border-radius: 14px;
  padding: 5px 14px;
  font-size: 0.98rem;
  font-weight: 500;
  margin-left: 5px;
  margin-right: 5px;
  transition: background 0.13s, color 0.12s;
}
.category-filters a:hover {
  background: #FFD682;
  color: #916014;
}
.featured-article {
  background: #24303E;
  color: #FFF9EF;
  border-radius: 18px;
  padding: 28px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2.5px 12px rgba(36, 48, 62, 0.10);
}
.featured-article h3 {
  color: #F3C46F;
  margin-bottom: 12px;
}

/* ===================================================================  
   MAP PLACEHOLDER, OTHER ELEMENTS
   =================================================================== */
.map-placeholder {
  background: #F3C46F28;
  color: #886612;
  border: 2px dashed #F3C46F;
  border-radius: 16px;
  padding: 34px 12px;
  min-height: 80px;
  margin-bottom: 20px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
}

.team-highlight {
  background: #FFE9BC;
  border-radius: 16px;
  padding: 26px 18px;
  margin-top: 18px;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(243, 196, 111, 0.09);
}
.team-highlight h3 {
  color: #24303E;
  margin-bottom: 8px;
}

.project-summary {
  background: #FFF9EF;
  border-radius: 16px;
  padding: 26px 16px 18px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(243, 196, 111, 0.07);
}
.project-summary h3 {
  font-size: 1.22rem;
  color: #916014;
  margin-bottom: 8px;
}

/* ===================================================================  
   FOOTER   
   =================================================================== */
footer {
  background: #24303E;
  color: #FFEBC0;
  padding-top: 32px;
  padding-bottom: 24px;
  margin-top: 70px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo img {
  max-width: 72px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 24px;
}
.footer-nav a {
  color: #FFE48A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background 0.13s, color 0.14s;
}
.footer-nav a:hover {
  background: #F3C46F;
  color: #24303E;
}
.footer-contact {
  color: #FFEBC0;
  font-size: 0.97rem;
}
.footer-contact a {
  color: #F3C46F;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #FFD682;
}

/* ===================================================================  
   COOKIE CONSENT BANNER & MODAL
   =================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 1400;
  background: #24303E;
  color: #FFF9EF;
  box-shadow: 0 -3px 27px rgba(36,48,62,0.13), 0 -1px 2px rgba(243,196,111,0.11);
  border-radius: 22px 22px 0 0;
  padding: 24px 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  width: 94vw;
  max-width: 720px;
  margin: 0 auto 18px auto;
  opacity: 1;
  transition: opacity 0.22s, transform 0.22s;
  animation: fadeInBottom 0.8s;
}
@keyframes fadeInBottom {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #FFF9EF;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.13s;
}
.accept-cookies {
  background: #F3C46F;
  color: #24303E;
}
.accept-cookies:hover, .accept-cookies:focus {
  background: #FFD682;
  color: #916014;
  transform: scale(1.05);
}
.reject-cookies {
  background: #FFD682;
  color: #916014;
}
.reject-cookies:hover, .reject-cookies:focus {
  background: #FFF9EF;
  color: #916014;
}
.cookie-settings-btn {
  background: #24303E;
  color: #F3C46F;
  border: 2px solid #F3C46F;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F3C46F;
  color: #24303E;
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,48,62,0.58);
  opacity: 1;
  transition: opacity 0.22s;
  pointer-events: auto;
  animation: fadeInTop 0.35s;
}
@keyframes fadeInTop {
  from { opacity: 0; transform: translateY(-110px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-content {
  background: #FFF9EF;
  color: #24303E;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(243, 196, 111, 0.22);
  padding: 34px 32px 22px 32px;
  max-width: 410px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-content h3 {
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFE9BC;
  padding: 12px 18px;
  margin-bottom: 8px;
  border-radius: 12px;
  font-size: 1rem;
}
.cookie-modal-category label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal-category input[type='checkbox'] {
  accent-color: #F3C46F;
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.cookie-modal-button-row {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}
.cookie-modal .close-modal {
  background: #24303E;
  color: #F3C46F;
  border: none;
  border-radius: 16px;
  font-size: 1.2rem;
  padding: 8px 22px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.14s, color 0.14s, transform 0.12s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #FFD682;
  color: #24303E;
  transform: scale(1.08);
}

/* ===================================================================  
   RESPONSIVE DESIGN -- MOBILE-FIRST 
   =================================================================== */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid > div,
  .card {
    min-width: 175px;
    padding: 24px 12px 18px 12px;
  }
  .article-list article {
    min-width: 160px;
    padding: 18px 10px;
  }
  footer .container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .footer-logo img {
    max-width: 56px;
  }
  .footer-nav {
    margin-left: 5px;
    gap: 5px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .desktop-nav {
    display: none;
  }
  .primary-cta, .secondary-cta {
    margin-left: 0;
    padding: 11px 20px;
    font-size: 0.99rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    margin-bottom: 39px;
    padding: 26px 6px;
  }
  .content-wrapper {
    gap: 11px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .feature-grid, .card-container, .card-grid, .content-grid, .article-list {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid > div,
  .card {
    min-width: unset;
    width: 100%;
    padding: 14px 7px 12px 7px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    font-size: 1.05rem;
    padding: 14px;
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .team-highlight,
  .map-placeholder {
    padding-left: 6px;
    padding-right: 6px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7px;
    width: 99vw;
    margin-bottom: 7px;
    gap: 12px;
    max-width: unset;
  }
  .cookie-actions {
    flex-direction: row;
    gap: 6px;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 3px;
  }
  .cookie-actions button {
    padding: 8px 12px;
    font-size: 0.94rem;
  }
  .cookie-modal-content {
    padding: 19px 7px 12px 7px;
    max-width: 95vw;
    gap: 13px;
  }
  footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.66rem; margin-bottom: 12px; }
  h2 { font-size: 1.18rem; margin-bottom: 12px; }
  h3 { font-size: 1.07rem; }
  .footer-logo img {
    max-width: 38px;
  }
  .map-placeholder, .team-highlight {
    padding: 9px 3px;
  }
}

/* ===================================================================  
   MICRO-INTERACTIONS, TRANSITIONS, SHADOWS, ETC.
   =================================================================== */
button, .primary-cta, .secondary-cta, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.15s, color 0.13s, transform 0.13s;
}
.card, .feature-grid > div, .testimonial-card, .article-list article, .project-summary {
  transition: box-shadow 0.19s, transform 0.13s;
}
img, .footer-logo img {
  transition: box-shadow 0.17s, opacity 0.17s;
}

/* insure visible focus for accessibility */
a:focus-visible, .primary-cta:focus-visible, .secondary-cta:focus-visible, button:focus-visible {
  outline: 2px solid #F3C46F;
  outline-offset: 2px;
}

/* ===================================================================  
   FORMATTING FOR SYSTEM/ELEMENTS IN THE HTML STRUCTURE
   =================================================================== */
main {
  min-height: 52vh;
  margin-bottom: 38px;
}

/* Helper: hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Remove spinner from input[type=number] (in case modals have them in the future) */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
