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

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #E8EDEF 0%, #D9C9A3 100%);
  color: #3A4D39;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #3A4D39;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B36F1B;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3A4D39;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; }

strong {
  font-weight: 700;
}
ul, ol {
  margin-left: 28px;
  margin-top: 10px;
  margin-bottom: 22px;
}
li {
  margin-bottom: 8px;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}

/* HEADER/NAVIGATION ---------------------------------------- */
header {
  width: 100%;
  background: linear-gradient(90deg, #E8EDEF 60%, #D9C9A3 100%);
  box-shadow: 0 2px 18px rgba(58,77,57,.03);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 20px;
  transition: filter 0.3s;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 6px 12px;
  border-radius: 4px;
  color: #3A4D39;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: #D9C9A3;
  color: #3A4D39;
}

.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: linear-gradient(93deg, #3A4D39 60%, #D9C9A3 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 18px rgba(58,77,57,0.05);
  cursor: pointer;
  transition: background 0.24s, color 0.18s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(93deg, #2F3B2C 70%, #B36F1B 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(58,77,57,0.10);
}
.btn-link {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: transparent;
  color: #3A4D39;
  font-weight: 600;
  text-decoration: underline;
  padding: 0 6px;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  display: inline-block;
}
.btn-link:hover, .btn-link:focus {
  background: #D9C9A3;
  color: #3A4D39;
}

/* MOBILE NAVIGATION ----------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #3A4D39;
  cursor: pointer;
  margin-left: 12px;
  z-index: 201;
  padding: 2px 6px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #3A4D39;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #D9C9A3 70%, #E8EDEF 100%);
  box-shadow: 0 5px 60px rgba(58,77,57,0.18);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  transition: transform 0.35s cubic-bezier(.61,-0.01,.48,1.19), opacity 0.2s;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 20px 0 0;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #3A4D39;
  cursor: pointer;
  z-index: 201;
  padding: 2px 9px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 24px 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3A4D39;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 5px;
  transition: background 0.12s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff5;
  color: #B36F1B;
}

/* MAIN ------------------------------------------------------- */
main {
  width: 100%;
  margin-top: 0;
}

/* SECTIONS, CARDS, GRID ------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 8px;
  margin-bottom: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(58,77,57,0.045), 0 2px 4px rgba(58,77,57,0.045);
  padding: 28px 26px 20px 26px;
  min-width: 218px;
  max-width: 330px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature-item h3, .feature-item h2 {
  font-size: 1.16rem;
  font-weight: 700;
  color: #3A4D39;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 1rem;
  color: #51624c;
  margin-bottom: 0;
}
.feature-item strong {
  color: #B36F1B;
  font-size: 1.1em;
}

.feature-item:hover {
  box-shadow: 0 8px 24px rgba(58,77,57,0.09),0 4px 12px #D9C9A326;
  transform: translateY(-2px) scale(1.03);
}

.testimonial-preview-wrapper, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  color: #282e24;
  padding: 20px 28px 16px 28px;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 3px 24px rgba(58,77,57,0.06);
  font-size: 1.05rem;
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 280px;
  position: relative;
  border-left: 4px solid #D9C9A3;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card strong {
  color: #3A4D39;
  font-size: 1rem;
  margin-top: 10px;
  font-weight: 600;
}

.testimonial-card:hover {
  box-shadow: 0 8px 38px rgba(58,77,57,0.13);
  border-left: 4px solid #B36F1B;
}

/* Card and content stylings for general usage*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(58,77,57,0.09);
  padding: 24px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 10px 36px rgba(58,77,57,0.14);
  transform: translateY(-2px) scale(1.02);
}
.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: 16px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* BLOG ARTICLES -------------------------------------- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-list article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 20px rgba(58,77,57,0.07);
  padding: 22px 18px 18px 22px;
  margin-bottom: 20px;
  flex: 1 1 290px;
  min-width: 240px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.14s, transform 0.16s;
}
.blog-list article:hover {
  box-shadow: 0 7px 36px rgba(58,77,57,0.13);
  transform: translateY(-2px) scale(1.02);
}
.blog-list h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.blog-list a {
  font-weight: 600;
  color: #B36F1B;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.16s;
}
.blog-list a:hover {
  color: #3A4D39;
}

/* CONTACT DETAILS -----------------------  */
.contact-details {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(58,77,57,0.03);
  padding: 18px 22px 12px 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1rem;
}
.contact-details a {
  color: #3A4D39;
  text-decoration: underline;
  transition: color 0.16s;
}
.contact-details a:hover,
.contact-details a:focus {
  color: #B36F1B;
}

/* FOOTER -------------------------------------- */
footer {
  width: 100%;
  background: linear-gradient(90deg, #D9C9A3 70%, #E8EDEF 100%);
  box-shadow: 0 -2px 12px rgba(58,77,57,.02);
  padding: 35px 0 24px 0;
  margin-top: 70px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
footer nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #3A4D39;
  padding: 5px 13px;
  border-radius: 4px;
  font-size: 0.98rem;
  transition: background 0.12s;
}
footer nav a:hover,
footer nav a:focus {
  background: #3A4D39;
  color: #fff;
}
.footer-contact {
  font-size: 1rem;
  color: #3A4D39;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(.12) brightness(.97);
}

/* COOKIE BANNER ------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #3A4D39;
  box-shadow: 0 -2px 20px rgba(58,77,57,0.09);
  border-top: 3px solid #D9C9A3;
  z-index: 2500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px 20px;
  min-height: 56px;
  font-size: 1rem;
  animation: bannerFadeIn 0.6s cubic-bezier(.83,-0.1,.31,1.19);
}
.cookie-banner p {
  margin-bottom: 0;
  max-width: 430px;
}
.cookie-btn,
.cookie-btn-settings {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
  margin-left: 8px;
  margin-top: 0;
  cursor: pointer;
  transition: background 0.22s, color 0.16s, box-shadow 0.14s;
}
.cookie-btn {
  background: linear-gradient(90deg, #D9C9A3 80%, #B36F1B 100%);
  color: #3A4D39;
  box-shadow: 0 2px 12px rgba(58,77,57,0.04);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: linear-gradient(90deg, #B36F1B 90%, #D9C9A3 100%);
  color: #fff;
}
.cookie-btn-settings {
  background: #E8EDEF;
  color: #3A4D39;
  border: 1px solid #D9C9A3;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #D9C9A3;
  color: #3A4D39;
  border: 1px solid #B36F1B;
}

/* COOKIE MODAL ----------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(58,77,57,0.25);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 48px rgba(58,77,57,.16);
  padding: 30px 20px 22px 30px;
  max-width: 420px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  z-index: 2650;
  animation: modalPopIn 0.45s cubic-bezier(.56,-0.12,.61,1.45);
}
.cookie-modal h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
}
.cookie-toggle-label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #E8EDEF;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
  margin-right: 6px;
  border: none;
  outline: none;
}
.cookie-switch[data-checked="true"] {
  background: #D9C9A3;
}
.cookie-switch .circle {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3A4D39;
  transition: left 0.18s;
}
.cookie-switch[data-checked="true"] .circle {
  left: 19px;
  background: #B36F1B;
}

.cookie-modal .cookie-btn {
  margin: 3px 0 0 0;
  width: 100%;
}

@keyframes modalPopIn {
  0% { transform: scale(0.8) translateY(60px); opacity: 0; }
  65%{ transform: scale(1.04) translateY(0px); opacity: 1;}
  100% { transform: scale(1) translateY(0px); }
}
@keyframes bannerFadeIn {
  0%{ opacity: 0; transform: translateY(50px); }
  100%{ opacity: 1; transform: translateY(0); }
}

/* UTILITIES, SPACING, ETC ----------------- */
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 18px; }
.mb-2 { margin-bottom: 18px; }
.mt-3 { margin-top: 32px; }
.mb-3 { margin-bottom: 32px; }

/* RESPONSIVE DESIGN ------------------------ */
@media (max-width: 1180px) {
  .container { max-width: 100%; padding-left: 13px; padding-right: 13px; }
}
@media (max-width: 900px) {
  .features-grid,
  .card-container,
  .testimonial-preview-wrapper,
  .content-grid,
  .blog-list { gap: 16px; }
  .footer-contact, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 830px){
  header .container {
    gap: 12px;
    flex-wrap: wrap;
    min-height: auto;
  }
  nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  .btn-primary { padding: 11px 22px; font-size: 0.98rem; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1{ font-size: 2rem; }
  h2{ font-size: 1.35rem; }
  h3{ font-size: 1.07rem; }
  body{ font-size: 15px;}
  /* mobile navigation */
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px;
  }
  .features-grid,
  .card-container,
  .testimonial-preview-wrapper,
  .content-grid,
  .blog-list { flex-direction: column; gap: 18px; }
  .feature-item, .card, .testimonial-card, .blog-list article {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 100%;
    margin-bottom: 18px;
  }
  .footer-contact, footer .container{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  main,
  .section {
    padding: 24px 0 18px 0;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-preview-wrapper {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card, .blog-list article { padding-left: 14px; padding-right: 14px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 10px;
    font-size: 0.98rem;
  }
  .cookie-modal {padding: 23px 8px 16px 12px;}
}

@media (max-width: 490px) {
  .container { padding-left: 5px; padding-right: 5px; }
  h1{ font-size: 1.5rem;}
  h2{ font-size: 1.1rem;}
  .feature-item,
  .testimonial-card,
  .card, .blog-list article {
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .cookie-banner { font-size: 0.95rem;}
  .cookie-modal { padding: 16px 3px 12px 6px; }
}
