/* RESET & BASE TYPOGRAPHY */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; background: none; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #1A1A1A;
  font-weight: 400;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #195C36; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #A53A6D; outline: none; }
button { font: inherit; background: none; border: none; cursor: pointer; padding: 0; }
ul, ol { padding-left: 1.4em; margin-top: 0.6em; margin-bottom: 0.6em; }
li { margin-bottom: 0.5em; }

/* TYPOGRAPHY SCALE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #195C36;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.14;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 1.75rem; margin-bottom: 22px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; color: #A53A6D; font-weight: 700; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol { font-size: 1rem; margin-bottom: 13px; color: #333; }
strong { font-weight: 700; color: #195C36; }

/* LAYOUT WRAPPERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

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

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(25,92,54,0.05);
  border-radius: 18px;
  padding: 28px 24px;
  transition: box-shadow 0.18s;
}
.card:hover { box-shadow: 0 6px 16px rgba(25,92,54,0.12); }

/* TEXT IMAGE SECTION */
.text-image-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section img {
  border-radius: 10px;
  width: 100%;
  max-width: 320px;
  object-fit: cover;
  box-shadow: 0 1px 8px rgba(33,40,36,0.08);
}
.text-image-section .section-text {
  flex: 1 1 230px;
}

/* FEATURE LIST */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 2px 8px rgba(25,92,54,0.05);
  margin-bottom: 20px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #FFF7F0;
  color: #1A1A1A;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(25,92,54,0.11);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 460px;
}
.testimonial-card p {
  color: #333;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card span {
  color: #A53A6D;
  font-size: 1rem;
  margin-top: 4px;
  font-weight: 500;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  min-width: 140px;
  background: #195C36;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 32px;
  box-shadow: 0 1px 8px rgba(25,92,54,0.11);
  letter-spacing: 0.01em;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A53A6D;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 16px rgba(33,40,36,0.13);
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(25,92,54,0.04);
  width: 100%;
  position: relative;
  z-index: 998;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #195C36;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  color: #A53A6D;
  background: #FFF7F0;
}

/* Hide burger menu on desktop */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #195C36;
  background: transparent;
  border: none;
  padding: 0.3em 0.6em;
  line-height: 1;
  z-index: 1002;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus { outline: 2px solid #A53A6D; color: #A53A6D }

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 2000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.9,0,.1,1);
  box-shadow: 0 8px 32px rgba(25,92,54,0.16);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #195C36;
  background: transparent;
  border: none;
  padding: 20px 24px 10px 16px;
  align-self: flex-end;
  transition: color 0.16s;
}
.mobile-menu-close:hover { color: #A53A6D; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 38px 0 38px;
  width: 80vw;
  max-width: 330px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #195C36;
  font-weight: 600;
  background: none;
  letter-spacing: 0.01em;
  padding: 10px 4px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:active, .mobile-nav a.active {
  background: #FFF7F0;
  color: #A53A6D;
}

@media (max-width: 1050px) {
  .main-nav { gap: 16px; }
}

@media (max-width: 900px) {
  .main-nav { gap: 10px; }
  .btn-primary { font-size: 0.98rem; padding: 11px 20px; }
}

@media (max-width: 768px) {
  header .container {
    gap: 8px;
    min-height: 54px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 10px 14px;
    min-width: 108px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* SHOW MOBILE MENU OVERLAY */
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

/* SECTION & RESPONSIVE PADDING */
@media (max-width: 900px) {
  .section { padding: 28px 14px; margin-bottom: 40px; }
  .testimonial-card, .card {
    padding: 19px 10px;
  }
}
@media (max-width: 600px) {
  .section { padding: 16px 7px; }
  .container { padding: 0 5px; }
  .testimonial-card, .card {
    padding: 13px 5px;
    min-width: 180px;
    max-width: 100%;
  }
}

/* FLEX DIRECTION/ALIGNMENT FOR RESPONSIVE */
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .card-container, .feature-list {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #EEE;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  padding: 30px 0 18px 0;
  border-radius: 0 0 16px 16px;
}
.footer-logo img {
  height: 32px;
  margin-bottom: 10px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-menu a {
  color: #195C36;
  font-size: 0.98rem;
  margin-bottom: 3px;
  transition: color 0.15s;
}
.footer-menu a:hover { color: #A53A6D; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: #555;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 2px;
}
.footer-contact a { color: #A53A6D; font-style: normal; text-decoration: underline; }

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    padding: 18px 0 10px 0;
  }
}

/* MISC ELEMENTS */
ul > li > img, ul > li > strong { vertical-align: middle; }
img[alt^="icon-"] { margin-right: 7px; margin-bottom: -2px; display: inline-block; vertical-align: middle; }

/* FORM, INPUTS & BUTTONS */
input, textarea, select {
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid #DDD;
  padding: 10px 14px;
  font-size: 1rem;
  color: #222;
  background: #fff;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.15s;
}
input:focus, textarea:focus {
  border-color: #A53A6D;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #FFF7F0;
  color: #195C36;
  box-shadow: 0 -2px 18px rgba(25,92,54,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 13px 23px 13px;
  gap: 22px;
  flex-wrap: wrap;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s, transform 0.3s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
}
.cookie-banner-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .btn {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: 32px;
  margin-bottom: 0;
  background: #fff;
  color: #195C36;
  box-shadow: 0 1px 6px rgba(25,92,54,0.06);
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .accept {
  background: #195C36;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #A53A6D;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #A53A6D;
  border: 1px solid #A53A6D;
}
.cookie-banner .reject:hover {
  background: #A53A6D;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #195C36;
  border: 1px solid #195C36;
}
.cookie-banner .settings:hover {
  background: #195C36;
  color: #fff;
}

@media (max-width: 500px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 18px; font-size: 0.95rem; padding: 18px 3px 14px 6px; }
  .cookie-banner-btns { justify-content: flex-start; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-bg {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25, 92, 54, 0.12);
  z-index: 4000;
  opacity: 1;
  transition: opacity 0.22s;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal-bg.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  color: #195C36;
  max-width: 370px;
  min-width: 240px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(25,92,54,0.08);
  padding: 24px 30px 18px 30px;
  z-index: 4050;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.33s cubic-bezier(.9,0,.1,1);
}
@keyframes modalIn { 0% { transform: translateY(50px); opacity: 0; } 100% {transform:translateY(0); opacity:1;}}
.cookie-modal h2 { font-size: 1.35rem; color: #195C36; margin-bottom: 5px; }
.cookie-modal .cookie-category {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.cookie-modal .toggle-switch {
  display: inline-flex;
  align-items: center;
}
.toggle-switch input[type=checkbox] { display: none; }
.toggle-switch label {
  position: relative; width: 38px; height: 20px;
  background: #EEE;
  border-radius: 16px;
  cursor: pointer;
  transition: background .18s;
  display: inline-block;
}
.toggle-switch label::after {
  content: '';
  position: absolute; left: 2px; top: 2px;
  width: 16px; height:16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(25,92,54,0.09);
  transition: left 0.18s, background .12s;
}
.toggle-switch input[type=checkbox]:checked + label {
  background: #195C36;
}
.toggle-switch input[type=checkbox]:checked + label::after {
  left: 20px;
  background: #A53A6D;
}
.cookie-modal .cookie-desc { font-size: 0.98rem; color: #444; margin-bottom: 5px; }
.cookie-modal .modal-actions {
  display: flex; flex-direction: row; gap: 9px; justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  padding: 7px 17px;
}
@media (max-width:500px){
  .cookie-modal{ padding: 15px 7px 10px 11px; }
}

/* ANIMATIONS & TRANSITIONS */
body, html {
  scroll-behavior: smooth;
}
a, button, .btn-primary, .main-nav a, .mobile-nav a, .modal-actions button, .cookie-banner button, .cookie-banner .btn {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.15s;
}

/* CARD MICRO-INTERACTIONS */
.card, .testimonial-card, .feature-item {
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover, .card:focus, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 4px 24px rgba(25,92,54,0.12);
  transform: translateY(-2px) scale(1.01);
}

/* VISUAL HIERARCHY (SPACING & WHITE SPACE) */
.section, .container, .card-container, .card, .content-grid, .testimonial-card, .feature-item, .footer-menu, .footer-contact, .text-image-section {
  margin-bottom: 0; /* Critical: prevent double bottom margin via flex gap */
}
section + section { margin-top: 0; }
.main-nav, .mobile-nav, .footer-menu, .footer-contact { gap: 16px; }
@media (max-width: 768px){
  .footer-menu, .footer-contact { gap: 7px; }
}

/* Z-INDEX MANAGEMENT */
header, .mobile-menu, .cookie-banner, .cookie-modal-bg { z-index: 2000; }
.mobile-menu { z-index: 2001; }
.cookie-banner { z-index: 3000; }
.cookie-modal-bg { z-index: 4000; }

/* ACCESSIBILITY STYLES */
:focus-visible {
  outline: 2px solid #A53A6D;
  outline-offset: 2px;
}

/* SCROLLBAR (nice & subtle for minimal) */
::-webkit-scrollbar { width: 8px; background: #fff; }
::-webkit-scrollbar-thumb { background: #EEE; border-radius: 6px; }

/* PRINT OVERRIDE */
@media print { nav, .btn-primary, .mobile-menu-toggle, .cookie-banner, .cookie-modal-bg { display: none !important; } }

/* --- THE END --- */
