/* ===================
   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 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #FFFFFF;
  color: #285030;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #285030;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B97C09;
}
ul, ol {
  list-style-position: inside;
}
button, input[type="submit"] {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 0;
  background: #fff;
  color: #285030;
  transition: border-color .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #B97C09;
}

/* ===================
   TYPOGRAPHY
======================*/
h1, .h1 {
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.18;
  color: #285030;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
h2, .h2 {
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.23;
  color: #285030;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #285030;
  margin-bottom: 12px;
}
h4, .h4 {
  font-weight: 600;
  font-size: 1rem;
  color: #285030;
}
p, ul, ol, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #285030;
}
blockquote {
  font-style: italic;
  color: #285030;
  border-left: 3px solid #A8831F;
  background: #FAF7EF;
  padding: 12px 16px 12px 24px;
  margin-bottom: 8px;
}
cite {
  font-style: normal;
  color: #B97C09;
  font-weight: 600;
  display: block;
  margin-top: 6px;
}
strong, b {
  font-weight: 600;
  color: #285030;
}

/* ===================
   BRAND COLOR PALETTE
======================*/
:root {
  --color-primary: #285030;
  --color-secondary: #FFFFFF;
  --color-accent: #B97C09;
  --color-softaccent: #D8E8D5;
  --color-gold: #A8831F;
  --color-grey: #EDEBDF;
  --color-dark: #1A2618;
}

/* ===================
   LAYOUT CONTAINERS
======================*/
.container {
  width: 100%;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
}
/* Section alternate backgrounds for hierarchy */
.section:nth-child(odd), section.services {
  background: #FAF7EF;
}

/* ===================
   HEADER & TOP NAVIGATION
======================*/
header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-softaccent);
  box-shadow: 0 3px 10px 0 rgba(40,80,48, 0.06);
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
header img {
  max-height: 48px;
  margin-right: 12px;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #397145;
  padding: 6px 16px;
  border-radius: 18px;
  transition: all 0.18s cubic-bezier(.5,.1,.7,1.3);
}
nav a.cta, .cta, button.cta {
  background: linear-gradient(90deg, #A8831F 60%, #B97C09 100%);
  color: #fff !important;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 10px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(168,131,31,0.10);
  letter-spacing: .02em;
  transition: background 0.17s, box-shadow 0.17s, color 0.22s;
  border: 2px solid #B97C09;
  margin-left: 8px;
  text-shadow: 0 1px 2px rgba(185,124,9,0.08);
}
nav a.cta:hover, .cta:hover, .cta:focus, button.cta:hover, button.cta:focus {
  background: #fff !important;
  color: #B97C09 !important;
  border: 2px solid #B97C09;
  box-shadow: 0 4px 18px 0 rgba(185,124,9,0.12);
  text-decoration: none;
}
nav a:hover, nav a:focus {
  background: #D8E8D5;
  color: #285030;
}
nav a:active {
  background: #B97C09;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #B97C09;
  transition: color .17s;
  margin-left: 16px;
  z-index: 1221;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B97C09;
  color: #A8831F;
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 599px) {
  header img {
    max-height: 38px;
  }
}


/* ===================
   HERO SECTIONS
======================*/
.hero {
  background: linear-gradient(107deg, #D8E8D5 42%, #fff 93%);
  box-shadow: 0 6px 26px -8px rgba(185,124,9,0.06);
  padding: 56px 0 36px 0;
  margin-bottom: 56px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}
.hero .content-wrapper {
  align-items: center;
  margin-top: 14px;
  text-align: center;
}
.hero .cta, .hero .cta:visited {
  margin-top: 20px;
}
.hero h1 {
  color: #285030;
  font-size: 2.85rem;
}
.hero p {
  font-size: 1.17rem;
  color: #285030;
  margin-bottom: 22px;
}
@media (max-width: 600px) {
  .hero {
    padding: 28px 0 18px 0;
    margin-bottom: 30px;
  }
  .hero .content-wrapper {
    margin-top: 4px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* ===================
   FLEXBOX LAYOUT PATTERNS
======================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(56, 40, 10, 0.08);
  background: #fff;
  border: 1.5px solid #F3E8CB;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(185,124,9,0.10);
  transform: translateY(-4px) scale(1.02);
}

.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(56, 40, 10, 0.08), 0 2px 0 0 #A8831F;
  border: 1px solid #FAF7EF;
  margin-bottom: 24px;
  max-width: 690px;
  transition: box-shadow .18s, border-color .18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(185,124,9,0.11);
  border-color: #A8831F;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 8px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 8px;
  justify-content: flex-start;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FAF7EF;
  border: 1px solid #EEEAD3;
  border-radius: 18px;
  padding: 28px 24px 24px 24px;
  gap: 10px;
  min-width: 240px;
  max-width: 360px;
  flex: 1 0 240px;
  box-shadow: 0 1px 6px 0 rgba(185,124,9,0.04), 0 1.5px 0 0 #A8831F33;
  transition: box-shadow 0.18s, background 0.18s;
}
.feature-grid > div:hover {
  background: #fff;
  box-shadow: 0 4px 28px 0 rgba(185,124,9,0.10);
}
.feature-grid img {
  height: 46px;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid>div {
    width: 100%;
    max-width: unset;
    min-width: 0;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  .feature-grid>div {
    padding: 18px 10px;
  }
}

/* ===================
   SECTIONS SPACING
======================*/
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 760px) {
  section {
    margin-bottom: 32px;
    padding: 22px 0;
  }
}


/* ===================
   ABOUT & SERVICES
======================*/
.about ul, .services ul, .features ul {
  padding-left: 24px;
  line-height: 1.7;
  color: #397145;
  margin-bottom: 18px;
}
.about li, .services li, .features li {
  margin-bottom: 10px;
  color: #397145;
}
.text-section {
  margin-bottom: 14px;
}
.text-section h3 {
  margin-top: 10px;
  color: #A8831F;
  font-size: 1.1rem;
  font-weight: 600;
}
.text-section p {
  margin-bottom: 8px;
}

/* ===================
   CONTACT & CTAS
======================*/
.contact .cta, .contact .cta:visited {
  margin-top: 16px;
  background: #A8831F;
  color: #fff;
}
.contact a.cta:hover {
  background: #fff !important;
  color: #B97C09 !important;
  border-color: #B97C09;
}

.section.contact,
.contact {
  background: #F8F7F5;
  border-radius: 18px;
  box-shadow: 0 1px 7px 0 rgba(185,124,9,.04);
}

/* ===================
   FOOTER
======================*/
footer {
  background: #285030;
  color: #fff;
  padding: 38px 0 24px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  gap: 14px;
}
footer nav a {
  color: #fff;
  opacity: 0.93;
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
  background: #A8831F;
  color: #fff;
}
footer .text-section {
  font-size: 0.99rem;
  color: #FAF7EF;
  margin-bottom: 8px;
}
footer .social-links {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
footer .social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  transition: box-shadow .17s, background .17s;
  box-shadow: 0 2px 6px 0 rgba(168,131,31,0.10);
}
footer .social-links a:hover {
  background: #B97C09;
  box-shadow: 0 6px 18px 0 rgba(185,124,9,.15);
}
footer .social-links img {
  width: 16px;
  height: 16px;
}
footer .newsletter-signup {
  margin-left: auto;
  min-width: 220px;
}
footer .newsletter-signup form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer .newsletter-signup label {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
footer .newsletter-signup input[type="email"] {
  padding: 8px 12px;
  border-radius: 14px;
  border: none;
  background: #fff;
  color: #285030;
  font-size: 1rem;
  margin-bottom: 6px;
}
footer .newsletter-signup button[type="submit"] {
  background: #B97C09;
  color: #fff;
  border-radius: 14px;
  border: none;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  transition: background .15s;
}
footer .newsletter-signup button[type="submit"]:hover {
  background: #fff;
  color: #B97C09;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer .newsletter-signup {
    margin-left: 0;
  }
}

/* ===============
   MOBILE MENU
==================*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(40,80,48,0.82);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateX(120%);
  transition: opacity .26s cubic-bezier(.6,.02,.37,1), transform .32s cubic-bezier(.66,.04,.17,1.09);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 18px 22px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color .17s;
  z-index: 3011;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B97C09;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  background: #fff;
  border-radius: 24px 0 0 24px;
  box-shadow: -1px 0 22px 0 rgba(40,80,48,0.12);
  padding: 32px 32px 40px 32px;
  max-width: 340px;
  height: 100vh;
  align-items: flex-start;
  margin-right: 0;
  margin-top: 0;
  transition: box-shadow .15s;
}
.mobile-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #285030;
  padding: 10px 0 10px 0;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  transition: background .15s, color .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FAF7EF;
  color: #B97C09;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ================
   COOKIE CONSENT BANNER/MODAL
===================*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #F6F4F0;
  border-top: 2px solid #A8831F;
  box-shadow: 0 -2px 16px rgba(40,80,48,0.11);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 18px 24px;
  animation: slideUp .5s cubic-bezier(.8,.04,.17,1.19);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to {   transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  color: #285030;
  font-size: 1rem;
  max-width: 550px;
}
.cookie-banner .cookie-btn {
  margin-left: 12px;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #B97C09;
  background: #B97C09;
  color: #fff;
  transition: background .15s, color .17s;
  margin-right: 6px;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #B97C09;
}
.cookie-banner .cookie-secondary {
  background: none;
  color: #A8831F;
  border: 2px solid #A8831F;
}
.cookie-banner .cookie-secondary:hover, .cookie-banner .cookie-secondary:focus {
  background: #A8831F;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 8px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 8000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40,80,48,0.71);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s cubic-bezier(.6,.02,.37,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  max-width: 400px;
  width: 90vw;
  border-radius: 22px;
  box-shadow: 0 4px 28px 0 rgba(185,124,9,0.12);
  padding: 36px 30px 28px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalIn .37s cubic-bezier(.8,.04,.17,1.19);
}
@keyframes modalIn {
  from { transform: scale(.84) translateY(64px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #285030;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #397145;
  gap: 10px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 18px;
  background: #D8E8D5;
  position: relative;
  cursor: pointer;
  margin-left: 10px;
  outline: none;
  transition: background .15s;
}
.cookie-modal .cookie-toggle:checked {
  background: #B97C09;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 4px 0 rgba(0,0,0,0.08);
  transition: transform .17s cubic-bezier(.7,.1,.3,1);
}
.cookie-modal .cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #B97C09;
  background: #B97C09;
  color: #fff;
  transition: background .15s, color .21s;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #fff;
  color: #B97C09;
}
.cookie-modal .cookie-secondary {
  background: none;
  color: #A8831F;
  border: 2px solid #A8831F;
}
.cookie-modal .cookie-secondary:hover, .cookie-modal .cookie-secondary:focus {
  background: #A8831F;
  color: #fff;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px; top: 12px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #A8831F;
  cursor: pointer;
  z-index: 8020;
}

/* ================
   THANK-YOU PAGE
===================*/
.thank-you .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
  margin-top: 40px;
}
.thank-you h1 {
  color: #B97C09;
}

/* ================
   LEGAL SECTIONS
===================*/
.legal {
  background: #faf7ef;
  border-radius: 18px;
  box-shadow: 0 1px 7px 0 rgba(185,124,9,.04);
  padding: 42px 0;
}
.legal .content-wrapper {
  align-items: flex-start;
}
.legal h1, .legal h2 {
  color: #285030;
  margin-bottom: 16px;
}
.legal h3 {
  color: #A8831F;
  margin-bottom: 8px;
}

/* ================
   FORMS
===================*/
form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 5px;
}
input[type='email'] {
  max-width: 320px;
}
input[type='email'], textarea {
  border-radius: 13px;
  border: 1.3px solid #EDEBDF;
  padding: 8px 12px;
  font-size: 1.02rem;
  background: #fff;
}
input[type='email']:focus {
  border-color: #B97C09;
}
button[type='submit'] {
  background: #B97C09;
  color: #fff;
  border-radius: 14px;
  border: none;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  transition: background .15s, color .17s;
  margin-top: 7px;
}
button[type='submit']:hover {
  background: #fff;
  color: #B97C09;
  border: 1.5px solid #B97C09;
}

/* ===================
   RESPONSIVE ADJUSTMENTS
======================*/
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  main {
    padding-left: 0; padding-right: 0;
  }
  header .container {
    min-height: 54px;
    gap: 8px;
  }
  .feature-grid > div {
    min-width: 170px;
    padding: 16px 12px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: unset;
  }
}
@media (max-width: 600px) {
  .card,
  .feature-grid > div,
  .services, .about, .contact, .section, .legal {
    border-radius: 9px;
    padding-left: 6px;padding-right: 6px;
  }
}

/* ===============
   MICRO-INTERACTIONS
==================*/
.cta, .cookie-btn {
  transition: background .16s, color .18s, box-shadow .17s, border-color .15s;
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow .17s, border-color .12s;
}

/* Subtle gold accent lines */
h2:after, .h2:after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: #A8831F;
  border-radius: 2px;
  margin-top: 7px;
  margin-bottom: 8px;
}

/* Selection color */
::selection {
  background: #A8831F;
  color: #fff;
}

/* Hide visually only, accessible for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
