/* =====================================================
   RESET & BASE TYPOGRAPHY
   ===================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F4F0E2;
  color: #3A382D;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: #204463;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
a:hover, a:focus {
  color: #16523D;
  outline: none;
}
button, .cta {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}

/* =====================================================
   BRAND COLORS as CSS VARIABLES (with fallbacks)
   ===================================================== */
:root {
  --color-primary: #204463;
  --color-secondary: #ECC055;
  --color-accent: #F4F0E2;
  --color-earth1: #5E503F;
  --color-earth2: #C6B89E;
  --color-organic-green: #49796B;
  --color-organic-green-dark: #336555;
  --color-text-dark: #2E2B26;
  --color-text-light: #fff;
  --color-success: #9CBD7D;
  --radius-card: 22px;
  --shadow-card: 0 3px 24px rgba(90,88,62,0.08);
  --shadow-soft: 0 2px 8px 0 rgba(90, 88, 62, 0.06);
}

/* =====================================================
   CONTAINER, SECTIONS & LAYOUT
   ===================================================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 740px;
  margin: 0 auto;
}
/* For feature and card sections using the supplied naming patterns */
.card-container, .content-grid, .feature-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.card, .feature-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow .25s, transform .2s;
  position: relative;
  flex: 1 1 260px;
}
.card:hover, .feature-card:hover {
  box-shadow: 0 8px 40px rgba(90,88,62,0.14);
  transform: translateY(-5px) scale(1.03);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
  section, .section {
    padding: 30px 6px;
    margin-bottom: 40px;
  }
  .content-wrapper, .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* =====================================================
   TYPOGRAPHY HIERARCHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.64rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}
p, li, a, span, address {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text-dark);
}
.brand-tagline {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-organic-green-dark);
  font-size: 1.15rem;
  font-style: italic;
}
.em, em {
  color: var(--color-earth1);
  font-style: italic;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* =====================================================
   HEADER & NAVIGATION (DESKTOP+MOBILE)
   ===================================================== */
header {
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
header a img {
  height: 52px;
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  border-radius: 20px;
  padding: 6px 16px;
  transition: background .17s, color .18s;
}
nav a.cta {
  background: var(--color-organic-green);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 22px;
  padding: 10px 22px;
  margin-left: 10px;
  box-shadow: 0 2px 12px rgba(73,121,107,0.06);
  border: 2px solid var(--color-organic-green-dark);
  transition: background .24s, color .18s, border-color .2s;
}
nav a.cta:hover, nav a.cta:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
  outline: none;
}
nav a:hover, nav a:focus {
  background: var(--color-earth2);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 102;
  transition: background .2s;
}
.mobile-menu-toggle:focus {
  background: var(--color-secondary);
}
@media (max-width: 895px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =====================================================
   MOBILE MENU (SLIDE-IN, OVERLAY NAV)
   ===================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(50, 60, 43, 0.10);
  backdrop-filter: blur(3px);
  z-index: 1202;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.27s;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 18px 24px 0 0;
  align-self: flex-end;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  z-index: 1210;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-organic-green);
  color: #fff;
  outline: none;
}
.mobile-nav {
  margin-top: 36px;
  background: #fff;
  box-shadow: 0 4px 40px rgba(32,68,99,0.16);
  border-radius: 20px 0 0 20px;
  max-width: 325px;
  width: 90vw;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 32px 28px 26px;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.33s ease;
}
.mobile-menu.open .mobile-nav {
  transform: translateX(0);
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.2rem;
  padding: 12px 8px;
  border-radius: 14px;
  letter-spacing: 0.02em;
  transition: background .17s, color .18s;
  margin-bottom: 3px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #2E2B26;
}
.mobile-nav a:last-child {
  margin-bottom: 0;
}
@media (max-width: 450px) {
  .mobile-nav {
    padding: 28px 12px 22px 10px;
    max-width: 99vw;
    border-radius: 0;
  }
  .mobile-menu-close {
    margin: 14px 8px 0 0;
    width: 36px; height: 36px;
    font-size: 1.45rem;
  }
}

/* =====================================================
   BUTTONS & CALL-TO-ACTION (CTA)
   ===================================================== */
.cta, button.cta {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 32px;
  margin-top: 10px;
  box-shadow: 0 2px 12px rgba(236,192,85,0.11);
  border: 2px solid var(--color-secondary);
  transition: background .24s, color .19s, border-color .18s, transform .18s;
  outline: none;
  font-size: 1.09rem;
}
.cta:hover, .cta:focus {
  background: var(--color-organic-green);
  color: #fff;
  border-color: var(--color-organic-green-dark);
  transform: translateY(-2px) scale(1.045);
}

/* =====================================================
   CARDS & FEATURES DESIGN
   ===================================================== */
.card, .feature-card, .testimonial-card {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.card-container, .feature-grid {
  gap: 24px;
}

.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px #E2DFD6;
  padding: 24px 20px 16px 20px;
  margin-bottom: 20px;
  flex: 1 1 200px;
  min-width: 145px;
  transition: box-shadow .2s, transform .14s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 30px rgba(32,68,99,.14);
  transform: translateY(-3px) scale(1.03);
}

@media (max-width: 768px) {
  .feature-card, .card, .testimonial-card, .feature-grid > div {
    padding: 20px 14px;
  }
}

/* =====================================================
   TESTIMONIALS CARDS
   ===================================================== */
.testimonial-card {
  background: #fffbe5;
  border-left: 8px solid var(--color-organic-green);
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(90,88,62,0.09);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 1.085rem;
  transition: box-shadow .23s;
}
.testimonial-card p {
  color: var(--color-text-dark);
  margin-bottom: 6px;
  font-size: 1.04rem;
  line-height: 1.6;
}
.testimonial-card div {
  color: var(--color-organic-green-dark);
  font-size: .97rem;
  margin-bottom: 2px;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 7px 32px rgba(32,68,99,0.17);
}

/* Star rating style for testimonials */
.testimonial-card div:last-child {
  color: #ECC055;
  font-size: 1.2rem;
}

/* =====================================================
   FORMS, INPUTS (if added later)
   ===================================================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 12px;
  border: 1.5px solid #C6B89E;
  background: #FFFEFC;
  color: #204463;
  padding: 10px 14px;
  margin-bottom: 16px;
  width: 100%;
  box-shadow: 0 1px 4px #ECE7D6;
  transition: border-color .16s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-organic-green);
  outline: 1.5px solid var(--color-organic-green-dark);
}

/* =====================================================
   FOOTER DESIGN
   ===================================================== */
footer {
  background: #204463;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 35px 0 15px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 24px rgba(90,88,62,0.09);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--color-secondary);
  font-size: .98rem;
  border-radius: 12px;
  padding: 5px 10px;
  transition: background .12s, color .15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-organic-green-dark);
  color: #fffbe5;
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: .98rem;
}
.contact-footer span {
  color: white;
}
.contact-footer img {
  width: 20px;
  height: 20px;
  opacity: .85;
  margin-right: 2px;
}
.brand-footer {
  margin-top: 16px;
  color: #b7ccaf;
  font-size: .95rem;
  letter-spacing: .015em;
  align-self: flex-end;
  opacity: 0.87;
}
@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    padding: 0 2px;
  }
  .brand-footer {
    align-self: flex-start;
    margin-top: 5px;
  }
}

/* =====================================================
   COOKIE CONSENT BANNER + MODAL
   ===================================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 4001;
  background: #fffbe5;
  box-shadow: 0 -2px 18px #e6e4d2;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 18px 0;
  justify-content: center;
  transition: transform .29s, opacity .26s;
  opacity: 1;
  transform: translateY(0);
  gap: 40px;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
#cookie-banner .cookie-message {
  flex: 2 1 340px;
  text-align: left;
  color: #3A382D;
  font-size: 1.05rem;
  line-height: 1.5;
  padding: 0 8px;
}
#cookie-banner .cookie-actions {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-actions button {
  font-family: 'Montserrat', sans-serif;
  padding: 8px 20px;
  border-radius: 22px;
  border: 2px solid var(--color-organic-green-dark);
  background: var(--color-organic-green);
  color: #fff;
  font-size: .97rem;
  font-weight: 600;
  transition: background .18s, color .16s;
}
.cookie-actions button.reject {
  background: #fff;
  color: var(--color-organic-green-dark);
  border-color: var(--color-organic-green-dark);
}
.cookie-actions button.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: var(--color-organic-green-dark);
  color: #fff;
  outline: none;
}
.cookie-actions button.reject:hover {
  background: #ECC055;
  color: var(--color-primary);
}
.cookie-actions button.settings:hover {
  background: var(--color-organic-green-dark);
  color: #fff;
}
@media (max-width: 650px) {
  #cookie-banner { flex-direction: column; gap: 8px; padding: 14px 0; }
  #cookie-banner .cookie-actions { justify-content: flex-start; gap: 9px; flex-wrap: wrap; }
  #cookie-banner .cookie-message { font-size: .97rem; }
}

/* Cookie Preferences Modal */
#cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(70,85,71,0.22);
  z-index: 4010;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .21s;
}
#cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fffbe5;
  box-shadow: 0 8px 48px #bab49744;
  border-radius: 16px;
  max-width: 370px;
  width: 97vw;
  padding: 34px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.18rem;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #3A382D;
  flex: 1;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-organic-green);
  width: 18px; height: 18px;
}
.cookie-category .category-desc {
  font-size: .93rem;
  color: #5E503F;
}
#cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: var(--color-organic-green-dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 35px; height: 35px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
#cookie-modal .close-cookie-modal:hover, #cookie-modal .close-cookie-modal:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  outline: none;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  border-radius: 20px;
  background: var(--color-organic-green);
  color: #fff;
  border: 2px solid var(--color-organic-green-dark);
  padding: 8px 18px;
  font-weight: 600;
  font-size: .98rem;
  transition: background .18s, color .16s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
@media (max-width: 470px) {
  .cookie-modal-content { padding: 22px 5vw; }
  .cookie-modal-actions { flex-direction: column; gap: 8px; }
  #cookie-modal .close-cookie-modal { top: 8px; right: 7px; }
}

/* =====================================================
   ORGANIC SHAPES: SUBTLE ORGANIC CARD SHADOWS & ROUNDS
   ===================================================== */
.card, .feature-card, .testimonial-card, .feature-grid > div {
  border-radius: 16px 32px 22px 12px / 22px 17px 32px 14px;
  box-shadow: 0 4px 34px 0 rgba(35,46,44,0.11);
}

/* =====================================================
   ORGANIC DECORATIVE NATURE-INSPIRED ELEMENTS
   (optional, shown with .organic-leaf class or for later)
   ===================================================== */
.organic-leaf {
  position: absolute;
  top: -22px; right: -16px;
  width: 59px; height: 44px;
  opacity: .19;
  z-index: 1;
}

/* =====================================================
   MICRO-INTERACTIONS & TRANSITIONS
   ===================================================== */
html {scroll-behavior:smooth;}
a, .cta, button, .feature-grid > div, .card, .feature-card, .testimonial-card {
  transition: box-shadow .19s, background .18s, color .18s, transform .15s;
}
.cta:active, button:active {
  transform: scale(0.98);
}

/* =====================================================
   ORGANIC FORM ELEMENTS: CHECKBOXES/SWITCHES
   ===================================================== */
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--color-organic-green);
}

/* =====================================================
   SPACING UTILITIES FOR WHITE SPACE (OPTIONAL USE)
   ===================================================== */
.mt-20 { margin-top:20px; }
.mb-20 { margin-bottom:20px; }
.mt-32 { margin-top:32px; }
.mb-32 { margin-bottom:32px; }
.gap-20 {gap:20px;}

/* =====================================================
   MISC UTILS
   ===================================================== */
.line-divider {
  width: 44px;
  height: 4px;
  border-radius: 3px;
  background: var(--color-secondary);
  margin: 16px 0;
}

/* =====================================================
   ORGANIC/NATURE-INSPIRED LOOK, EARTH SHADES
   ===================================================== */
body, section, .section {
  background: #F4F0E2;
}
section, .section {
  box-shadow: none;
  border-radius: 32px 20px 64px 20px/18px 30px 25px 50px;
}

/* Section titles accent border (nature, organic) */
h2:after {
  display: block;
  content: '';
  margin: 8px 0 0 0;
  width: 50px;
  height: 4px;
  border-radius: 4px;
  background: var(--color-organic-green);
}

/* List styling with organic bullet */
ul:not(.mobile-nav):not(.contact-footer) li::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--color-organic-green);
  border-radius: 40%;
  margin-right: 8px;
  opacity: .6;
  vertical-align: middle;
}
ul:not(.mobile-nav):not(.contact-footer) {
  margin-left: 0;
  margin-bottom: 10px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Responsive scalable font for body on mobile */
@media (max-width: 450px) {
  body { font-size: .95rem; }
}

/***********************
 ORGANIC SHADOW BLOB HOVER
***********************/
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 12px 40px rgba(91,116,75, .17),0 5px 18px #CFD1B8;
}

/***********************
 FOCUS STATES FOR ACCESSIBILITY
***********************/
a:focus, button:focus, .cta:focus {
  outline: 2px dashed var(--color-organic-green-dark);
  outline-offset: 2px;
}

/***********************
 MOBILE FINE TUNING
***********************/
@media (max-width: 650px) {
  .feature-grid > div,
  .card, .testimonial-card, .feature-card {
    min-width: unset;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .contact-footer {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/**********************
  SPECIALS: THANK YOU PAGE
**********************/
.thank-you-hero {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}
