/* ---- CSS RESET & BASE ---- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFFFFF;
  color: #204E37;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #204E37;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B37F4C;
}
ul, ol {
  list-style-position: inside;
  margin-bottom: 16px;
}
ul {
  padding-left: 18px;
}
li + li {
  margin-top: 6px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #204E37;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; margin-top: 0; }
h2 { font-size: 2rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
p, .section p {
  margin-bottom: 16px;
  color: #304B3B;
}
strong { font-weight: 700; color: #204E37; }
small { font-size: 0.9em; color: #767676; }
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #D6DBD6;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #8B5F22;
  box-shadow: 0 0 0 2px rgba(179,127,76,.1);
}

/* ---- LAYOUT CONTAINERS ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 1px solid #F0F2F0;
  border-radius: 15px;
  box-shadow: 0 2px 8px 0 rgba(32,78,55,.05);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(32,78,55,.10);
  transform: translateY(-3px) scale(1.01);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background-color: #F6F2EB;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(179,127,76,.08);
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #204E37;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #8B5F22;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- HEADER & NAV ---- */
header {
  background: #fff;
  border-bottom: 1px solid #F0F2F0;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  font-size: 1.05rem;
  background: #fff;
}
.main-nav img {
  width: 130px;
  height: auto;
  margin-right: 14px;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 18px;
  color: #204E37;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.1s, color 0.18s;
}
.main-nav a.button-primary {
  background: #204E37;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .04em;
  margin-left: 10px;
}
.main-nav a.button-primary:hover,
.main-nav a.button-primary:focus {
  background: #B37F4C;
  color: #fff !important;
}
.main-nav a:not(.button-primary):hover,
.main-nav a:not(.button-primary):focus {
  background: #F6F2EB;
  color: #B37F4C;
}
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: #204E37;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 7px;
  margin: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 101;
  align-self: flex-end;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #B37F4C;
  color: #fff;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,247,244,0.97);
  box-shadow: 0 0 24px rgba(32,78,55,.15);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.77,0,.18,1);
  z-index: 110;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #204E37;
  align-self: flex-end;
  margin: 14px 18px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #8B5F22;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 44px 32px;
  margin-top: 30px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Quicksand', Arial, sans-serif;
  color: #204E37;
  padding: 14px 12px;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  transition: background 0.1s, color 0.18s;
  font-weight: 500;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F6F2EB;
  color: #8B5F22;
}

/* ---- BUTTONS ---- */
.button-primary,
button[type="submit"] {
  background: #204E37;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.13rem;
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px 0 rgba(32,78,55,.07);
  transition: background 0.15s, color 0.18s, box-shadow 0.2s;
  cursor: pointer;
  display: inline-block;
}
.button-primary:hover,
button[type="submit"]:hover,
.button-primary:focus,
button[type="submit"]:focus {
  background: #B37F4C;
  color: #fff;
  box-shadow: 0 5px 20px 0 rgba(179,127,76,.13);
}
.button-secondary {
  background: #F6F2EB;
  color: #204E37;
  border: 1px solid #D6DBD6;
  border-radius: 20px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.12rem;
  padding: 12px 28px;
  font-weight: 500;
  transition: background 0.14s, border 0.14s;
  cursor: pointer;
}
.button-secondary:hover,
.button-secondary:focus {
  background: #E9E1D6;
  border-color: #B37F4C;
  color: #8B5F22;
}

/* Button (cookie management) */
.button-cookie {
  font-size: 1rem;
  background: #fff;
  border: 1px solid #D6DBD6;
  color: #204E37;
  border-radius: 16px;
  padding: 9px 22px;
  margin-right: 12px;
  transition: background 0.14s, border 0.14s, color 0.14s;
  cursor: pointer;
}
.button-cookie.button-accent {
  background: #204E37;
  color: #fff;
  border: none;
}
.button-cookie.button-accent:hover,
.button-cookie.button-accent:focus {
  background: #8B5F22;
}
.button-cookie:hover, .button-cookie:focus {
  background: #F6F2EB;
  border-color: #8B5F22;
  color: #8B5F22;
}

/* ---- FORMS & INPUTS ---- */
form {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 10px;
  align-items: center;
}
input[type="text"],
input[type="email"],
textarea {
  padding: 10px 16px;
  width: 260px;
  border: 1px solid #D6DBD6;
  border-radius: 15px;
  background: #fff;
  color: #204E37;
  font-size: 1rem;
  transition: border 0.15s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #8B5F22;
}

/* ---- FOOTER ---- */
footer {
  background: #F6F2EB;
  padding: 36px 0 0 0;
  border-top: 1px solid #F0F2F0;
  font-size: 1rem;
  margin-top: 52px;
}
footer .container {
  padding-top: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
  flex-wrap: wrap;
  padding-bottom: 12px;
}
footer img {
  width: 60px;
  margin-bottom: 12px;
}
footer ul {
  margin-bottom: 6px;
  list-style: none;
  color: #444;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #204E37;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 2px 0;
}
footer nav a:hover {
  color: #8B5F22;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-links a img {
  width: 26px;
  height: 26px;
  filter: grayscale(30%) brightness(0.7);
  transition: filter 0.18s;
}
.social-links a:hover img {
  filter: none;
}

/* Section spacing on main pages */
main > section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(32,78,55,.04);
  margin-bottom: 60px;
  padding: 40px 0;
}

/* ---- TYPOGRAPHY SYSTEM ---- */
@media (max-width: 425px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  h3 {
    font-size: 1.02rem;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* ---- RESPONSIVE FLEX LAYOUT ADJUSTMENTS ---- */
@media (max-width: 1024px) {
  .content-wrapper, .footer .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .content-wrapper {
    gap: 16px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
  .content-wrapper {
    gap: 10px;
  }
  main > section {
    padding: 22px 0;
    border-radius: 12px;
    margin-bottom: 34px;
  }
  .testimonial-card {
    padding: 14px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 8px;
  }
  main > section {
    padding: 10px 0;
    margin-bottom: 18px;
  }
}
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #204E37;
  color: #fff;
  padding: 22px 18px 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  box-shadow: 0 -4px 24px 0 rgba(32,78,55,0.08);
  animation: cookie-slide-up 0.6s cubic-bezier(.48,.12,.34,1);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__message {
  font-size: 1.04rem;
  max-width: 78vw;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  margin-left: 18px;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 8px;
  }
  .cookie-banner__actions {
    margin-left: 0;
    width: 100%;
    gap: 14px;
  }
}

/* ---- COOKIE PREFERENCES MODAL ---- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10001;
  background: rgba(32,78,55,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in 0.16s linear;
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal__box {
  background: #FFFFFF;
  color: #204E37;
  border-radius: 16px;
  padding: 38px 28px 28px 32px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 12px 36px 0 rgba(32,78,55,0.11);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modal-box-fade-in 0.38s cubic-bezier(.4,0,.2,1);
}
@keyframes modal-box-fade-in {
  from { transform: scale(0.97) translateY(40px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 15px;
  right: 22px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: #204E37;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal__close:hover {
  color: #B37F4C;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #D6DBD6;
  border-radius: 16px;
  position: relative;
  transition: background 0.2s;
  outline: none;
  margin-right: 4px;
}
.cookie-toggle:checked {
  background: #204E37;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  height: 16px;
  width: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(32,78,55,0.08);
  transition: left 0.19s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal button {
  margin-top: 8px;
  min-width: 120px;
}

/* MODAL OVERLAY TRANSITIONS */
.cookie-modal[aria-hidden='true'] {
  display: none !important;
}

/* ---- ANIMATIONS / MICRO-INTERACTIONS ---- */
.button-primary,
.button-secondary,
.button-cookie,
input[type="text"],
input[type="email"] {
  transition: background .15s, border .15s, color .16s, box-shadow .19s;
}
.testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(139,95,34,.12);
  transform: translateY(-2px) scale(1.012);
}

/* ---- UTILITY CLASSES ---- */
.d-none { display: none !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ---- SPECIAL STYLES FOR MINIMALIST LOOK ---- */
section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px 0 rgba(32,78,55,0.04);
  padding: 40px 0;
}
@media (max-width: 768px) {
  section {
    border-radius: 10px;
    padding: 18px 0;
    margin-bottom: 24px;
  }
}
.card, .testimonial-card {
  border: none;
}

/* --- ACCESSIBILITY ENHANCEMENTS --- */
:focus {
  outline: 2px solid #8B5F22;
  outline-offset: 1px;
}

::-webkit-input-placeholder { color: #7E8A80; }
::-moz-placeholder { color: #7E8A80; }
:-ms-input-placeholder { color: #7E8A80; }
::placeholder { color: #7E8A80; opacity: 1; }
