/* =============================================================
   RESET & NORMALISATION
============================================================= */
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: #F7F7F2;
  color: #24313F;
  min-height: 100vh;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style-position: outside;
  margin-left: 1.5em;
}
a {
  color: #24313F;
  text-decoration: none;
  transition: color 0.25s;
}
a:focus {
  outline: 2px solid #7A8671;
  outline-offset: 2px;
}

/* =============================================================
   TYPOGRAPHY SYSTEM
============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #24313F;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; line-height: 1.15; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 500; }
h4 { font-size: 1.125rem; font-weight: 500; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; }
p, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
  color: #24313F;
}
em {
  color: #7A8671;
}

/* Typography scale for buttons, nav, small text */
.cta-btn, .mobile-menu-toggle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-transform: none;
  font-weight: 600;
}
.footer-brand span {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
small, .footer-menu {
  font-size: 0.95rem;
  color: #7A8671;
}

/* =============================================================
   LAYOUT & SPACING (Flexbox ONLY)
============================================================= */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(36, 49, 63, 0.04);
  border: 1px solid #E4E7E2;
  color: #24313F;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(36, 49, 63, 0.08);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding-bottom: 10px;
}

/* =============================================================
   HEADER & NAVIGATION
============================================================= */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(36,49,63, 0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
  padding: 16px 0;
}
nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #24313F;
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px 0;
  position: relative;
}
nav > a:hover, nav > a.active {
  color: #7A8671;
}
nav > a.cta-btn {
  margin-left: auto;
  padding: 9px 22px;
}
nav img {
  height: 38px;
  width: auto;
  vertical-align: middle;
}

/* Hamburger Mobile Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #24313F;
  cursor: pointer;
  margin-left: auto;
  padding: 10px;
  z-index: 60;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(36,49,63,0.85);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.64,0.09,0.08,1);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 60px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 26px;
  padding: 6px 16px;
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7A8671;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  padding: 8px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
  margin-right: 32px;
  line-height: 1.4;
}
.mobile-nav a:hover {
  color: #F7F7F2;
  background: #7A8671;
}

/* Show/hide nav for mobile/desktop */
@media (max-width: 1024px) {
  nav {
    gap: 20px;
  }
  nav > a.cta-btn {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  nav > a, nav > a.cta-btn {
    font-size: 0.98rem;
    padding: 7px 0;
  }
}
@media (max-width: 768px) {
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-menu, .footer-brand {
    flex-direction: column;
    gap: 10px;
  }
}

/* =============================================================
   BUTTONS & LINKS
============================================================= */
.cta-btn {
  background: #24313F;
  color: #F7F7F2;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.19s;
  box-shadow: 0 2px 12px rgba(36,49,63, 0.06);
  text-align: center;
  display: inline-block;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #7A8671;
  color: #fff;
  box-shadow: 0 5px 22px rgba(36,49,63, 0.12);
}
.read-more {
  font-size: 1rem;
  color: #7A8671;
  font-weight: 500;
  border-bottom: 1.5px solid #7A8671;
  transition: color 0.18s, border 0.18s;
  padding-bottom: 2px;
  margin-top: 6px;
}
.read-more:hover {
  color: #24313F;
  border-color: #24313F;
}

/* =============================================================
   HERO & GENERAL SECTION STYLES
============================================================= */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  width: 100%;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper h1 + p, .text-section h1 + p {
  margin-top: -6px;
}
.content-wrapper h2 + p, .text-section h2 + p {
  margin-top: 0;
}

/* =============================================================
   SERVICE FEATURES
============================================================= */
.service-features {
  margin-top: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.feature-grid > div {
  flex: 1 1 212px;
  background: #fff;
  border: 1px solid #E4E7E2;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,49,63, 0.025);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, border 0.17s;
  min-width: 212px;
}
.feature-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 14px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 22px rgba(36, 49, 63, 0.07);
  border-color: #7A8671;
}
.feature-grid h3 {
  margin-top: 0;
  margin-bottom: 9px;
  font-size: 1.12rem;
}

/* Services Page: Service List */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.service-list > div {
  flex: 1 1 240px;
  background: #fff;
  border: 1px solid #E4E7E2;
  border-radius: 14px;
  box-shadow: 0 1px 12px rgba(36,49,63, 0.03);
  padding: 24px 20px 18px 20px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.18s, border 0.18s;
}
.service-list > div:hover {
  border-color: #7A8671;
  box-shadow: 0 8px 28px rgba(122, 134, 113, 0.09);
}
.service-list h2 {
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.service-list p { margin-bottom: 9px; }

/* Blog Post List & Cards */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post {
  flex: 1 1 270px;
  background: #fff;
  border: 1px solid #E4E7E2;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,49,63, 0.025);
  padding: 24px 18px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  transition: border 0.15s, box-shadow 0.15s;
}
.blog-post:hover {
  border-color: #24313F;
  box-shadow: 0 12px 28px rgba(36,49,63,0.08);
}

/* =============================================================
   FOOTER
============================================================= */
footer {
  background: #fff;
  box-shadow: 0 -2px 14px rgba(36,49,63, 0.030);
  width: 100%;
  margin-top:80px;
  position:relative;
  z-index: 10;
  padding: 20px 0 12px 0;
}

footer .container {
  flex-direction: column;
  gap: 12px;
  align-items: center;
  display: flex;
  padding: 0 16px;
}
.footer-menu {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #7A8671;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.18s;
}
.footer-menu a:hover {
  color: #24313F;
}

/* =============================================================
   COOKIE CONSENT BANNER + MODAL
============================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #24313F;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 20px 18px 20px;
  z-index: 120;
  box-shadow: 0 -4px 22px 0 rgba(36,49,63,0.07);
  border-top: 1.5px solid #E4E7E2;
  gap: 16px;
  transition: transform 0.37s cubic-bezier(0.655,0.02,0.2,1), opacity 0.25s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #24313F;
  color: #F7F7F2;
  border: none;
  border-radius: 28px;
  padding: 7px 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: #24313F;
  border: 1.2px solid #7A8671;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #7A8671;
  color: #fff;
  outline: none;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 130;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,49,63, 0.58);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(36,49,63,0.18);
  padding: 32px 26px 28px 26px;
  max-width: 400px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  color: #24313F;
  position: relative;
  animation: modal-pop 0.34s cubic-bezier(0.59,0.01,0.16,1);
}
@keyframes modal-pop {
  from {opacity: 0; transform: scale(0.92) translateY(16px);}
  to {opacity: 1; transform: scale(1) translateY(0);}
}
.cookie-modal h2 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  font-size: 1.07rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #7A8671;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 17px;
  border-radius: 25px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #7A8671;
  cursor: pointer;
}
.cookie-category label.disabled {
  color: #B5B5B5;
  cursor: not-allowed;
}

/* =============================================================
   RESPONSIVE DESIGN
============================================================= */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .content-grid, .blog-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
  .section {
    padding: 28px 4px;
    margin-bottom: 34px;
  }
  section {
    margin-bottom: 34px;
    padding: 31px 0 0 0;
  }
  .text-image-section, .feature-grid, .service-list, .content-grid, .blog-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .service-list > div, .blog-post {
    min-width: 0;
    width: 100%;
    padding: 18px 8px;
  }
  .mobile-nav {
    margin-left: 16px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  footer .footer-menu {
    gap: 10px;
  }
}
@media (max-width: 460px) {
  h1 { font-size: 1.55rem;}
  h2 { font-size: 1.1rem;}
  .cta-btn {
    font-size: 0.93rem;
    padding: 11px 14px;
  }
  .cookie-banner {
    padding: 9px 7px 11px 7px;
  }
  .cookie-modal {
    padding: 20px 7px 19px 7px;
    font-size: 0.98rem;
  }
}

/* ============================================
   MISC: FORMS, LISTS, ATTRIBUTES
============================================ */
ul, ol, li {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.6;
}
ul li, ol li {
  margin-bottom: 6px;
}
.text-section ul li, .text-section ol li {
  color: #24313F;
  margin-bottom: 7px;
}

/* List summary styling (for policies, etc) */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #24313F;
  margin-bottom: 3px;
}
dd {
  margin-bottom: 8px;
}

/* Blockquotes (if used) */
blockquote {
  border-left: 3px solid #7A8671;
  padding-left: 15px;
  color: #24313F;
  font-style: italic;
  margin-bottom: 18px;
  background: #F4F5EA;
}

/* =============================================================
   MICRO-INTERACTIONS (shadows/transitions)
============================================================= */
div, section, .card, .testimonial-card, .feature-grid > div, .blog-post, .service-list > div {
  transition: box-shadow 0.14s, border 0.13s;
}
button, .cta-btn, .cookie-banner button, .cookie-modal button, .mobile-menu-toggle {
  transition: background 0.2s, color 0.18s, box-shadow 0.14s, border 0.15s, outline 0.14s;
  outline: none;
}

/* =============================================================
   ACCESSIBILITY
============================================================= */
:focus {
  outline: 2.5px solid #7A8671;
  outline-offset: 1.5px;
}

/* =============================================================
   FIXED: NO GRID, NO ABSOLUTE except decor/close btns
============================================================= */
/* Confirmed: All layouts use flex, no grid or columns */
