/* RESET & BASELINES */
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-family: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FAFAF7;
  color: #2d2a23;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* FONT FACE FALLBACKS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
:root {
  --color-primary: #21325B;
  --color-secondary: #B7AA8C; /* organic taupe, blend of earth/brown and sand */
  --color-accent: #6E944B;  /* natural green accent */
  --color-sun: #F5B041;
  --color-bg: #F2EFE6;      /* warm sand background */
  --color-bg-content: #FFFFFF;
  --color-text: #2d2a23;
  --color-card-shadow: rgba(42, 57, 30, 0.06);
  --color-border: #E4DECE;
  --color-muted: #768249;
}
html {
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/*******************
  GENERAL LAYOUT & CONTAINER
*******************/
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
main > section.hero {
  margin-bottom: 0;
  padding-bottom: 40px;
}

/**********
 BRANDED TYPOGRAPHY
***********/
h1, h2, h3, h4, .cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  margin-top: 0;
}
h3 {
  font-size: 1.35rem;
  color: var(--color-muted);
  margin-bottom: 16px;
  margin-top: 0;
}
h4 {
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}
p, ul, li, span, div {
  font-size: 1rem;
  color: var(--color-text);
}
strong {
  font-weight: bold;
}
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-primary);
  transition: color 0.2s;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
li {
  padding-bottom: 8px;
}

/***************
  HEADER & NAVIGATION
****************/
header {
  background: var(--color-bg-content);
  box-shadow: 0 3px 18px -3px var(--color-card-shadow);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  height: 80px;
}
.logo-link img {
  display: block;
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(33,50,91,0.10));
  border-radius: 16px 32px 22px 28px/34px 28px 16px 23px;
  background: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  border-radius: 18px;
  padding: 6px 18px;
  transition: background 0.13s, color 0.13s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-accent);
  background: rgba(168,184,133,0.16);
}
/* CTA nav button */
.cta-button {
  background: var(--color-accent);
  color: #fff;
  padding: 10px 28px;
  border-radius: 28px 37px 19px 31px/28px 23px 18px 32px;
  box-shadow: 0 2px 7px var(--color-card-shadow);
  display: inline-block;
  border: none;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-left: 18px;
  transition: background 0.22s, color 0.18s, transform 0.13s;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-sun);
  color: #1a310b;
  transform: translateY(-1px) scale(1.038);
  box-shadow: 0 4px 14px -2px rgba(110, 148, 75, 0.18);
}

/**** MOBILE MENU ******/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--color-accent);
  cursor: pointer;
  padding: 8px 10px;
  margin-left: 10px;
  border-radius: 12px;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(126,144,85,0.08);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg-content);
  z-index: 1400;
  transition: transform 0.38s cubic-bezier(.84,0,.12,1);
  transform: translateX(-120vw);
  box-shadow: 0 2px 18px -4px var(--color-card-shadow);
  padding-top: 0;
  padding-bottom: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--color-accent);
  align-self: flex-end;
  margin: 12px 22px 8px 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 3px 12px;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(150,173,93,0.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 40px;
  padding-left: 40px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  padding: 14px 0;
  border-radius: 14px;
  transition: background 0.13s, color 0.13s;
  min-width: 200px;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(110,148,75,0.12);
  color: var(--color-primary);
}

/*************
  RESPONSIVE MOBILE NAV
*************/
@media (max-width: 1050px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 768px) {
  header .container {
    height: 64px;
    padding: 0 7px;
    gap: 6px;
  }
  .logo-link img {
    height: 44px;
    border-radius: 18px 20px 19px 12px/17px 20px 16px 18px;
  }
}

/******************
  HERO & SECTION LAYOUT
*******************/
.hero {
  background: linear-gradient(107deg, rgba(255,255,255,0.96) 78%, #F5B041 100%);
  border-radius: 0 0 95px 0/0 0 86px 0;
  min-height: 260px;
  box-shadow: 0 7px 40px -25px var(--color-card-shadow);
}
.hero .container {
  min-height: 240px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
.hero .content-wrapper {
  max-width: 650px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero p {
  font-size: 1.17rem;
  color: var(--color-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/**** FLEX PATTERN SECTIONS *****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-content);
  border-radius: 32px 48px 18px 26px/38px 30px 20px 22px;
  box-shadow: 0 2px 14px -3px var(--color-card-shadow);
  margin-bottom: 20px;
  padding: 24px 18px;
  position: relative;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.18s;
  min-width: 240px;
  flex: 1 1 270px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px -4px rgba(110,148,75,0.12);
}
.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: #FAFAF7;
  border-radius: 32px 19px 32px 19px/22px 38px 22px 38px;
  border: 1px solid #E5E6DD;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px -5px var(--color-card-shadow);
  transition: box-shadow 0.18s, border 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 26px -7px rgba(110,148,75,0.14);
  border-color: var(--color-accent);
}
.testimonial-card p {
  flex: 1 1 auto;
  font-size: 1.07rem;
  color: #323225;
  line-height: 1.7;
  margin-bottom: 10px;
}
.testimonial-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.96rem;
  color: var(--color-muted);
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
}
/**** Contact key pattern ****/
.contact-key {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  list-style: none;
  margin: 0 0 30px 0;
  align-items: flex-start;
}
.contact-key li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.contact-key img {
  width: 27px;
  height: 27px;
}
/************ UL LISTS IN SECTIONS ***********/
section ul {
  margin-bottom: 18px;
}
section ul li {
  margin-bottom: 9px;
}
/********* News list & events ***********/
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin-bottom: 20px;
}
.news-list li {
  background: #fff;
  border-radius: 21px 13px 24px 17px/18px 20px 28px 18px;
  box-shadow: 0 1.5px 10px -3px var(--color-card-shadow);
  padding: 16px 18px;
  border-left: 6px solid var(--color-accent);
}
.upcoming-events {
  background: var(--color-sun);
  color: #fff;
  font-weight: 700;
  border-radius: 16px 42px 28px 18px/14px 17px 20px 19px;
  padding: 10px 16px;
}

/*****************
  FOOTER
*****************/
footer {
  background: var(--color-primary);
  color: #fff;
  border-radius: 82px 0 0 0/0 89px 0 0;
  margin-top: 40px;
}
footer span {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 34px;
  min-height: 120px;
  padding: 40px 18px 34px 18px;
  justify-content: space-between;
}
footer .logo-link img {
  height: 44px;
  border-radius: 18px 16px 12px 14px/18px 15px 21px 17px;
  background: #fff7ed;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-sun);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  opacity: 0.96;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
  opacity: 1;
}
.footer-contact, .footer-hours {
  color: #fff;
  font-size: 0.97rem;
  opacity: 0.89;
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-hours {
  font-size: 0.92rem;
  margin-left: 1.5em;
  letter-spacing: 0.3px;
}

/*********************
  CARDS, FLEXBOX, FEATURE ICONS
**********************/
.feature-icons ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
}
.feature-icons li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #f9f7f0;
  border-radius: 22px 24px 15px 17px/18px 17px 23px 20px;
  box-shadow: 0 1.5px 6px -3px var(--color-card-shadow);
  font-size: 0.99rem;
}
.feature-icons img {
  width: 36px;
  height: 36px;
}
.value-proposition {
  background: var(--color-accent);
  color: #fff;
  font-weight: bold;
  border-radius: 24px 33px 22px 18px/18px 23px 20px 19px;
  padding: 17px 20px;
  margin: 24px 0 0 0;
  font-size: 1.07rem;
  letter-spacing: 0.17px;
  box-shadow: 0 4px 16px -8px var(--color-card-shadow);
}
.company-philosophy {
  background: #EEF5DB;
  border-radius: 16px 31px 20px 27px/22px 24px 25px 18px;
  padding: 15px 13px 15px 28px;
  margin-top: 22px;
  font-style: italic;
  color: #4f5f38;
  font-size: 1.07rem;
}

/*********************
  BUTTONS & INTERACTIVE ELEMENTS
**********************/
button, input[type="submit"], input[type="button"], .cta-button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  outline: none;
}
button:active, .cta-button:active {
  transform: translateY(1px) scale(0.98);
}

/*****************
  COOKIE CONSENT BANNER & MODAL
*****************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  background: #f5f2e2;
  box-shadow: 0 -3px 28px -7px var(--color-card-shadow);
  border-top: 2px solid var(--color-accent);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1.07rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 24px;
  border-radius: 22px 30px 16px 22px/18px 17px 19px 16px;
  border: none;
  margin-top: 0;
  font-weight: 700;
  transition: background 0.19s, color 0.15s, box-shadow 0.11s;
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 6px var(--color-card-shadow);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-sun);
  color: #232616;
}
.cookie-banner .reject {
  background: #fff;
  color: #b85041;
  border: 1px solid #d0c8b0;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #e7dcc6;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--color-accent);
  text-decoration: underline;
  border: 1px solid var(--color-accent);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #eef5db;
  color: var(--color-primary);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1800;
  background: rgba(70,85,62,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s cubic-bezier(.86,.01,.41,1.01);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 28px 33px 18px 23px/22px 16px 18px 19px;
  box-shadow: 0 9px 42px -4px var(--color-card-shadow);
  padding: 36px 32px 24px 32px;
  max-width: 420px;
  min-width: 280px;
  animation: pop-in 0.47s cubic-bezier(.89,.03,.38,.99);
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.86); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: var(--color-accent);
  font-size: 1.45rem;
  margin-bottom: 18px;
}
.cookie-modal ul {
  list-style: none;
  margin-bottom: 15px;
  padding-left: 0;
}
.cookie-modal li {
  margin-bottom: 13px;
  display: flex;
  gap: 8px;
}
.cookie-modal label {
  font-weight: 600;
  color: var(--color-primary);
  user-select: none;
  cursor: pointer;
}
.cookie-modal input[type=checkbox],
.cookie-modal input[type=radio] {
  accent-color: var(--color-accent);
  margin-right: 8px;
  width: 1.15em;
  height: 1.15em;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal .close-modal {
  background: none;
  color: var(--color-muted);
  font-size: 1.3rem;
  border: none;
  margin-left: auto;
  display: block;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 32px;
}

/********************
  ACCESSIBILITY, FOCUS STATES
**********************/
:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

/********************
  RESPONSIVE DESIGN - FLEX PATTERNS
**********************/
@media (max-width: 992px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .card-container,
  .content-grid,
  .feature-icons ul,
  .contact-key,
  footer .container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .hero .container {
    flex-direction: column;
    min-height: 120px;
    gap: 18px;
    padding: 16px 0 8px 0;
  }
  .card-container, .content-grid, .feature-icons ul, .contact-key, footer .container {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch;
  }
  .testimonials-row, .feature-icons ul {
    flex-direction: column;
    gap: 12px;
  }
  .section, section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
  .card {
    min-width: 0;
    padding: 13px 9px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 15px 8px 13px 8px;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .news-list li {
    border-left-width: 4px;
    font-size: 0.97rem;
  }
  footer .container {
    padding: 24px 5px 17px 5px;
    gap: 10px;
    min-height: 80px;
  }
  .footer-nav {
    gap: 12px;
  }
  .footer-hours {
    margin-left: 0;
  }
  .cookie-modal .modal-content {
    max-width: 92vw;
    padding: 24px 9px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 1.6rem;
    word-break: break-word;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
}

/********************
  MICRO-INTERACTIONS & SHADOWS
**********************/
.card, .testimonial-card, .cookie-banner, .news-list li, .feature-icons li, .value-proposition {
  transition: box-shadow 0.21s cubic-bezier(.25,.8,.25,1), transform 0.15s;
}
.card:hover, .testimonial-card:hover, .feature-icons li:hover, .news-list li:hover {
  box-shadow: 0 6px 28px -6px rgba(184, 171, 118, 0.15);
  transform: translateY(-2px) scale(1.018);
}

/********
  CUSTOM ORGANIC SHAPES/EFFECTS (subtle)
********/
.hero, .cta-button, .card, .testimonial-card, .feature-icons li, .value-proposition, .company-philosophy, .news-list li, .upcoming-events {
  /* already have organic border-radius above */
  /* touch of deeper box-shadow added in hover */
}

/***************
  HIDE NON-MOBILE NAV ON SMALL DEVICES
***************/
@media (max-width: 1050px) {
  .main-nav { display: none; }
}
@media (min-width: 1051px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/************************************
  ENSURE NO OVERLAP, PROPER Z-INDEX FOR MENUS, BANNERS
************************************/
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1300;
}
.mobile-menu { z-index: 1400; }
.cookie-banner { z-index: 1600; }
.cookie-modal { z-index: 1800; }

/***************
  MISC UTILS
***************/
.clearfix::after { content: ""; display: table; clear: both; }

/****
  PRINT STYLES (BASIC)
****/
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  html, body { background: #fff; color: #000; }
}
