/* --- 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,
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #FFFFFF;
  color: #5A493A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #5A493A; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #7D8E7C; }
ul, ol { padding-left: 24px; margin-bottom: 20px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #365139;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
p { margin-bottom: 16px; }
blockquote {
  font-style: italic;
  color: #365139;
  background: #F6F3EE;
  border-left: 3px solid #ACC0AC;
  padding: 14px 22px;
  margin: 0 0 10px 0;
  border-radius: 8px;
}

/* --- CONTAINER & SECTIONS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- FLEX UTILITY CLASSES --- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(90, 73, 58, 0.04); transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 8px 24px rgba(90, 73, 58, 0.09); }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO --- */
.hero {
  background: #F6F3EE;
  padding: 60px 0 50px 0;
  margin-bottom: 40px;
}
.hero .container {
  align-items: center;
}
.hero h1 {
  color: #5A493A;
  font-size: 2.3rem;
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}
.hero h2 {
  color: #365139;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: -0.6px;
}
.hero-subheadline {
  font-size: 1.05rem;
  color: #7D8E7C;
}

/* --- NAVIGATION --- */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #ece2d2;
  z-index: 60;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 12px 20px;
}
.logo-link img {
  height: 40px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Quicksand', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #365139;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #5A493A;
  border-bottom: 2px solid #7D8E7C;
}
.cta-btn {
  background: #5A493A;
  color: #fff !important;
  font-family: 'Quicksand', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  margin-left: 24px;
  box-shadow: 0 2px 8px rgba(90, 73, 58, 0.09);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s, color 0.22s;
  text-align: center;
  letter-spacing: 0.02em;
}
.cta-btn:hover,.cta-btn:focus {
  background: #7D8E7C;
  color: #fff;
  box-shadow: 0 8px 28px rgba(54, 81, 57, 0.09);
}
/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #5A493A;
  cursor: pointer;
  margin-left: 20px;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 32px rgba(90, 73, 58, 0.13);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.68, -.55, .27, 1.55);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #5A493A;
  margin: 20px 24px 8px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 32px 38px 28px 40px;
}
.mobile-nav a {
  color: #365139;
  font-size: 1.2rem;
  font-family: 'Quicksand', 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 10px 0;
  border-radius: 4px;
  width: 100%;
  transition: color .18s, background .18s;
}
.mobile-nav a:hover,.mobile-nav a:focus {
  color: #5A493A;
  background: #F6F3EE;
}
@media (max-width: 1050px) {
  .main-nav { gap: 14px; }
  .cta-btn { margin-left: 8px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 7px; }
}
@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    align-items: center;
  }
}

/* --- FEATURE GRID / SERVICE GRID --- */
.feature_grid, .service_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin: 30px 0 20px 0;
}
.feature_grid > div, .service_grid > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 16px 0 rgba(90,73,58,0.075);
  padding: 28px 18px;
  min-width: 240px;
  flex: 1 1 220px;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.feature_grid > div:hover, .service_grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(125, 142, 124, 0.11);
  transform: translateY(-2px) scale(1.025);
}
.feature_grid img, .service_grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .feature_grid, .service_grid{
    gap: 15px;
  }
  .feature_grid > div, .service_grid > div {
    min-width: 190px; max-width: 400px;
    padding: 20px 10px;
  }
}
@media (max-width: 600px) {
  .feature_grid, .service_grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-slider, .testimonial-grid, .testimonial-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #F6F3EE;
  color: #365139;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  box-shadow: 0 2px 12px 0 rgba(125,142,124,0.11);
  min-width: 260px;
  max-width: 380px;
  word-break: break-word;
  margin-bottom: 16px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px 0 rgba(90,73,58,0.14);
  transform: translateY(-2px) scale(1.012);
}
.star-rating {
  color: #ACC0AC;
  font-size: 1.05em;
  font-weight: 700;
  margin-bottom: 4px;
}
.testimonial-card blockquote {
  color: #365139;
  background: none;
  border: none;
  padding: 0;
  font-style: italic;
}
.testimonial-card cite {
  font-size: 0.98em;
  color: #5A493A;
  font-weight: 600;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .testimonial-slider, .testimonial-grid, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { max-width: none; width: 100%; }
}

/* --- USP/Article/Steps Lists --- */
.usp-list, .user_rights_list, .article-list, .terms_and_conditions_list {
  margin: 20px 0 20px 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-filter {
  font-size: 0.96em;
  color: #7D8E7C;
  margin-bottom: 10px;
}
ol {
  margin-left: 28px;
  margin-bottom: 14px;
}
ol li {
  margin-bottom: 13px;
  line-height: 1.55;
}

/* --- FOOTER --- */
footer {
  background: #F6F3EE;
  border-top: 1px solid #ece2d2;
  padding: 36px 0 12px 0;
  margin-top: 44px;
}
footer .container {
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-logo img {
  height: 48px;
  margin-bottom: 16px;
}
.footer-contact p {
  font-size: 1em;
  color: #5A493A;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img { width: 18px; height: 18px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #5A493A;
  font-family: 'Quicksand', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  transition: color 0.17s, background 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7D8E7C;
  color: #fff;
}
.footer-copy {
  color: #7D8E7C;
  font-size: 0.98em;
  letter-spacing: .01em;
  margin-top: 7px;
}
@media (max-width: 900px) {
  footer .container { gap: 17px; }
}

/* --- BUTTONS & FORMS --- */
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  background: #5A493A;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 26px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
button:hover, button:focus {
  background: #7D8E7C;
  color: #fff;
}

/* --- SPECIAL: COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #5A493A;
  color: #fff;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 8vw 22px 6vw;
  box-shadow: 0 -2px 12px 0 rgba(90, 73, 58, 0.06);
  font-size: 1.06rem;
  transition: transform 0.34s;
  gap: 20px;
}
.cookie-banner.hide {
  transform: translateY(112%);
}
.cookie-banner .cookie-text {
  flex: 2 1 300px;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  background: #E9D8C3;
  color: #5A493A;
  border-radius: 7px;
  padding: 10px 20px;
  font-size: 1rem;
  margin-left: 0;
  font-weight: 600;
  border: none;
  min-width: 121px;
  transition: background 0.15s, color 0.15s, box-shadow 0.12s;
  box-shadow: 0 1px 5px 0 rgba(90,73,58,0.09);
}
.cookie-banner button:hover, .cookie-banner button:focus, .cookie-banner .cookie-settings-btn:hover,.cookie-banner .cookie-settings-btn:focus {
  background: #7D8E7C;
  color: #fff;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px 16px 16px;
    font-size: 1em;
    gap: 12px;
  }
  .cookie-banner .cookie-text { margin-right: 0; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0;
  width: 100vw; height: 100vh;
  background: rgba(54, 81, 57, 0.28);
  z-index: 510;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #fff;
  padding: 40px 26px 28px 26px;
  border-radius: 16px;
  box-shadow: 0 10px 48px 0 rgba(90, 73, 58, 0.16);
  min-width: 320px;
  max-width: 390px;
  color: #5A493A;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: #365139;
}
.cookie-modal .cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1em;
}
.cookie-category-item {
  display: flex; align-items: center; gap: 10px;
}
.cookie-category-item label {
  font-weight: 500;
}
.cookie-modal .modal-btns {
  display: flex; gap: 16px; margin-top: 12px;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  color: #5A493A;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 1;
}
.cookie-toggle-checkbox {
  appearance: none;
  width: 36px; height: 20px;
  border-radius: 999em;
  background: #E9D8C3;
  outline: none;
  position: relative;
  transition: background 0.25s;
  cursor: pointer;
}
.cookie-toggle-checkbox:checked {
  background: #7D8E7C;
}
.cookie-toggle-checkbox::before {
  content: '';
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.19s, background 0.13s;
  box-shadow: 0 1px 3px 0 rgba(90,73,58,0.11);
}
.cookie-toggle-checkbox:checked::before {
  transform: translateX(15px);
  background: #5A493A;
}
.cookie-category-item .category-desc {
  font-size: 0.93em;
  color: #7D8E7C;
  margin-left: 10px;
}
@media (max-width: 480px) {
  .cookie-modal { min-width: 90vw; max-width: 99vw; padding: 32px 10px 22px 10px; }
}

/* --- MISC, GENERAL UTILITIES --- */
::-webkit-scrollbar { width: 8px; background: #F6F3EE; }
::-webkit-scrollbar-thumb { background: #E9D8C3; border-radius: 7px; }
body::-webkit-scrollbar { width: 8px; background: #E9D8C3; }

strong { font-weight: 700; color: #365139; }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1100px) {
  .container { padding: 0 12px; max-width: 100vw; }
}
@media (max-width: 600px) {
  .hero { padding: 36px 0 23px 0; }
  .section { padding: 25px 5px; margin-bottom: 36px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.42rem; }
  h3 { font-size: 1.10rem; }
}
@media (max-width: 420px) {
  .footer-logo img { height: 33px; }
}

/* --- MICRO-INTERACTIONS & ANIMATION --- */
.card, .testimonial-card, .feature_grid > div, .service_grid > div {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .testimonial-card:hover, .feature_grid > div:hover, .service_grid > div:hover {
  box-shadow: 0 8px 36px 0 rgba(125, 142, 124, 0.12);
  transform: translateY(-2px) scale(1.024);
}
a.cta-btn, .cta-btn {
  transition: background 0.4s, color 0.3s, transform 0.16s, box-shadow 0.18s;
}
a.cta-btn:active, .cta-btn:active {
  transform: scale(0.97);
}
/* Focus states */
.main-nav a:focus,
.footer-nav a:focus,
article a:focus, .feature_grid > div:focus-within, .service_grid > div:focus-within {
  outline: 2px solid #ACC0AC;
  outline-offset: 2px;
}

/* --- FORMS (if included in future) --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #e6d2be;
  border-radius: 7px;
  padding: 12px 14px;
  margin-bottom: 13px;
  background: #fff;
  color: #5A493A;
  box-shadow: 0 1px 2px 0 rgba(90, 73, 58, 0.03);
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #7D8E7C;
}

/* --- Z-INDEX SAFE HARBOUR --- */
header { z-index: 60; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 400; }
.cookie-modal-overlay { z-index: 510; }

/* --- SPECIAL CARD-LIKE ELEMENTS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.project_highlights {
  background: #fff5e4;
  padding: 16px 22px;
  border-radius: 10px;
  color: #5a493a;
  margin-top: 18px;
}

/* --- END --- */