/* =============================================================
   CSS RESET & NORMALIZE
   =========================================================== */
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 {
  scroll-behavior: smooth;
}

article,aside,details,figcaption,figure, 
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F5F7;
  color: #273248;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  text-decoration: none;
  color: #386641;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #6F8F57;
}
ul,ol {
  list-style: none;
  margin: 0 0 20px 22px;
}
strong { font-weight: 600; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #273248;
  line-height: 1.13;
  margin-bottom: 16px;
}
h1 { font-size: 2.625rem; font-weight: 700; margin-bottom: 24px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 1.375rem; font-weight: 600; }

p, address {
  font-size: 1rem;
  color: #40513B;
  margin-bottom: 16px;
}
address { font-style: normal; line-height: 1.4; }

blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: #273248;
  background: #edead7;
  border-left: 5px solid #6F8F57;
  padding: 14px 24px;
  margin-right: 0;
  margin-bottom: 10px;
  border-radius: 10px 30px 30px 10px;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 38px 18px 38px 18px / 24px 38px 24px 38px;
  box-shadow: 0 3px 16px 0 rgba(39, 50, 72, 0.07);
}

/* ================== BRAND COLOR PALETTE =================== */
:root {
  --color-primary: #273248;
  --color-secondary: #D9B18B;
  --color-accent: #F4F5F7;
  --color-deep-green: #386641;
  --color-earth-brown: #A98467;
  --color-forest: #6F8F57;
  --color-leaf: #E8EAD7;
  --color-darktext: #273248;
  --color-lighttext: #fff;
  --color-card-bg: #F4F5F7;
  --color-section-bg: #fff;
}

/* ================ UI ELEMENTS (Buttons, Cards) ============== */
.primary-cta, .primary-cta:visited {
  display: inline-block;
  padding: 13px 32px;
  background: linear-gradient(92deg, #6F8F57 90%, #A98467 102%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 26px 12px 32px 16px / 18px 32px 16px 32px;
  box-shadow: 0 2px 12px rgba(105, 136, 91, 0.09);
  border: none;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 4px;
  transition: background 0.2s, transform 0.17s, box-shadow 0.13s;
  outline: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: linear-gradient(87deg, #89BC71 75%, #D9B18B 100%);
  color: #386641;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 6px 20px 0 rgba(111,143,87,0.15);
}

/* ========================== NAVIGATION ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(39, 50, 72, 0.08);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 48px;
  margin-bottom: 22px;
  position: relative;
  z-index: 40;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 0;
}
nav > a img {
  height: 48px;
  width: auto;
  border-radius: 13px 37px 23px 29px/23px 25px 19px 37px;
  background: var(--color-accent);
}
nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #273248;
  padding: 4px 14px;
  border-radius: 8px 22px 18px 12px / 10px 6px 22px 14px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.18s, color 0.16s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: #E8EAD7;
  color: #386641;
}
nav .primary-cta {
  margin-left: 20px;
  margin-top: 0;
}
nav .primary-cta:last-child {
  margin-right: 0;
}

/* ================ MOBILE MENU ================ */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #6F8F57;
  color: #6F8F57;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 2rem;
  position: relative;
  z-index: 60;
  cursor: pointer;
  margin-left: 24px;
  transition: background 0.14s, border-color 0.18s;
  box-shadow: 0 1px 6px 0 rgba(111,143,87,0.09);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E8EAD7;
  border-color: #386641;
  color: #273248;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #f3f1da;
  box-shadow: 10px 0 40px rgba(111,143,87,0.13);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.54,0,.63,1.03);
  opacity: 0.99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #273248;
  align-self: flex-end;
  margin: 16px 24px 8px 0;
  padding: 2px 12px;
  cursor: pointer;
  z-index: 10001;
  transition: color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #386641;
}
.mobile-menu nav.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 42px 28px 12px 28px;
}
.mobile-nav a {
  color: #273248;
  background: transparent;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 16px 32px 23px 12px / 9px 22px 19px 25px;
  padding: 12px 8px 12px 20px;
  transition: background .15s, color .13s;
  line-height: 1.2;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8EAD7;
  color: #386641;
}

@media (max-width: 1100px) {
  nav ul {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  nav ul {
    gap: 8px;
  }
}
@media (max-width: 820px) {
  nav ul {
    gap: 4px;
  }
}

@media (max-width: 1024px) {
  nav ul,
  nav .primary-cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    border-radius: 0 0 24px 24px;
    margin-bottom: 15px;
  }
}

@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================ SECTIONS ======================== */
.section:not(:last-child) {
  margin-bottom: 60px;
}
@media (max-width:600px) {
  .section {
    padding: 28px 6px;
    border-radius: 22px 12px 19px 16px / 14px 22px 16px 22px;
  }
}

.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;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* =========================== CARDS =========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: start;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 25px 15px 19px 12px / 12px 20px 16px 22px;
  background: var(--color-card-bg);
  box-shadow: 0 2px 10px 0 rgba(105, 136, 91, 0.09);
  padding: 24px 22px;
  min-width: 260px;
  max-width: 378px;
  transition: box-shadow .17s, transform .15s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(111,143,87,0.11), 0 1px 1px rgba(39,50,72,0.03);
  transform: translateY(-2px) scale(1.022);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 12px;
}


/* ====================== TESTIMONIAL CARDS ====================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #E8EAD7;
  border-radius: 26px 26px 22px 32px / 16px 26px 24px 26px;
  box-shadow: 0 2px 8px 0 rgba(52, 76, 36, 0.08);
  margin-bottom: 20px;
  margin-right: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #273248;
  min-width: 280px;
  max-width: 540px;
}
.testimonial-card blockquote {
  background: transparent;
  border-left-color: #6F8F57;
  font-size: 1.05rem;
  color: #273248;
  margin-bottom: 0;
  margin-right: 12px;
}
.testimonial-card span {
  font-size: .97rem;
  color: #386641;
  margin-left: 10px;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.15px;
}
@media (max-width: 570px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-right: 0;
    width: 100%;
    padding: 16px 10px;
  }
  .testimonial-card blockquote {
    padding: 8px 13px;
    font-size: 1rem;
  }
}

/* ====================== LISTS, TEXT SECTIONS ================== */
ul li, ol li {
  padding-left: 0;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #40513B;
}
.text-section {
  margin-bottom: 18px;
}

/* ================= CUSTOM LINKS IN SECTION ===================== */
.content-wrapper > a:not(.primary-cta) {
  color: #386641;
  background: #edead7;
  padding: 5px 16px;
  border-radius: 13px 27px 13px 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: .97rem;
  position: relative;
  display: inline-block;
  margin-right: 7px;
  transition: background .14s, color .13s;
}
.content-wrapper > a:not(.primary-cta):hover, .content-wrapper > a:not(.primary-cta):focus {
  background: #D9B18B;
  color: #273248;
}

/* =========================== FOOTER =========================== */
footer {
  margin-top: 70px;
  background: #E8EAD7;
  border-top-right-radius: 36px;
  border-top-left-radius: 18px;
  box-shadow: 0 -2px 10px 0 rgba(39,50,72,0.08);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .97rem;
  color: #273248;
  margin-bottom: 15px;
}
.footer-nav a {
  color: #273248;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  font-weight: 500;
  border-radius: 12px 18px 12px 8px / 10px 8px 18px 10px;
  padding: 2px 8px;
  transition: background .11s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #D9B18B;
  color: #386641;
}
.footer-contact {
  font-size: .97rem;
  color: #273248;
  line-height: 1.5;
}
.footer-contact strong {
  font-size: 1.08rem;
  letter-spacing: 0.2px;
}

@media (max-width: 640px) {
  .footer-nav {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .footer-contact {
    font-size: .93rem;
  }
}

/* ================ COOKIE CONSENT BANNER & MODAL ============== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9998;
  background: #273248;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 22px 32px;
  box-shadow: 0 -3px 16px rgba(111,143,87,0.13);
  border-radius: 22px 22px 0 0;
  font-size: 1rem;
  justify-content: space-between;
  opacity: 0.98;
  animation: cookieSlideIn .41s;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner p {
  margin: 0;
  color: #fff;
  max-width: 60vw;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  padding: 8px 22px;
  border-radius: 19px 33px 16px 20px / 9px 16px 9px 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 4px;
  transition: background .14s, color .11s, box-shadow .13s;
  background: #6F8F57;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(111,143,87,0.09);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #89BC71;
  color: #273248;
}
.cookie-banner .settings-btn {
  background: #E8EAD7;
  color: #386641;
  box-shadow: 0 1px 6px rgba(216,177,139,0.07);
  margin-left: 13px;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #D9B18B;
  color: #273248;
}

@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    gap: 8px;
    padding: 16px 6px;
    font-size: .97rem;
  }
  .cookie-buttons {
    gap: 6px;
    flex-wrap: wrap;
  }
  .cookie-banner p { max-width: 100vw; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 10010;
  background: rgba(39,50,72,0.32);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .27s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 0.99; } }
.cookie-modal {
  background: #fff;
  color: #273248;
  min-width: 320px;
  max-width: 91vw;
  border-radius: 22px 32px 18px 28px;
  box-shadow: 0 10px 36px rgba(111,143,87,0.13);
  padding: 38px 30px 22px 30px;
  position: relative;
  font-size: 1rem;
  animation: modalPopIn .22s;
}
@keyframes modalPopIn { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F4F5F7;
  border-radius: 14px 19px 11px 17px;
  padding: 12px 15px;
  box-shadow: 0 2px 10px rgba(216,177,139,0.06);
}
.cookie-category label {
  font-weight: 500;
  color: #273248;
}
.cookie-category input[type=checkbox] {
  accent-color: #386641;
  margin-right: 2px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 13px; right: 17px;
  background: none; border: none;
  font-size: 1.4rem;
  color: #273248;
  cursor: pointer;
  padding: 2px 7px;
  line-height: 1;
  border-radius: 13px;
  transition: background .12s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #edead7;
}
.cookie-modal .cookie-buttons {
  justify-content: flex-end;
}
@media (max-width: 520px) {
  .cookie-modal {
    min-width: 0;
    padding: 22px 6px 14px 12px;
  }
  .cookie-category {
    font-size: .95rem;
  }
}

/* ===================== RESPONSIVE LAYOUTS ==================== */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 992px) {
  .container { max-width: 820px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.62rem; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.17rem; }
  .content-wrapper { gap: 12px; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .card {
    min-width: unset;
    max-width: 100vw;
    padding: 12px 6px;
  }
}
@media (max-width: 460px) {
  nav > a img {
    height: 35px;
  }
  .primary-cta, nav .primary-cta {
    padding: 12px 16px;
    font-size: 1em;
  }
  .content-wrapper { gap: 8px; }
}

/* =========== SCROLLBAR, TRANSITIONS & MICRO-INTERACTIONS ======== */
body::-webkit-scrollbar {
  width: 13px; background: #F4F5F7;
}
body::-webkit-scrollbar-thumb {
  background: #E8EAD7; border-radius: 6px;
}
.card, .primary-cta, .section, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow .15s, transform .16s, background .13s, color .12s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.992);
}
section {
  transition: box-shadow .17s, transform .12s, background .09s;
}

/* =============== TYPOGRAPHY SCALE FOR RESPONSIVE ============= */
@media (min-width: 1400px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.35rem; }
}

/* =================== UTILITIES & GENERIC ==================== */
.hide { display: none !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* organic blobs for backgrounds / corners - for future improvements */
.organic-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
}

/* =================== FORM INPUT STYLES for contact.html if needed ==================== */
input[type="text"], input[type="email"], textarea {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px 14px;
  border-radius: 18px 7px 14px 14px;
  border: 1px solid #D9B18B;
  font-size: 1rem;
  margin-bottom: 10px;
  background: #F4F5F7;
  color: #273248;
  width: 100%;
  box-shadow: 0 1px 6px rgba(216,177,139,0.06);
  transition: border .15s, background .13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid #6F8F57;
  background: #fff;
  outline: none;
}

/* =================== TABLES if needed =================== */
table {
  background: #E8EAD7;
  border-radius: 18px 21px 13px 18px;
  overflow: hidden;
  width: 100%;
}
th, td {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 11px 13px;
  border-bottom: 1px solid #D9B18B;
}
th { background: #D9B18B; color: #273248; }

/* END OF STYLE.CSS */
