/* 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, 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, main, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }

a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { padding-left: 1.2em; margin-bottom: 1em; }
img, picture { max-width: 100%; display: block; border: none; }
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
input, textarea, select { font: inherit; }

/* BRAND COLORS & NATURE ORGANIC PALETTE */
:root {
  --primary: #19354D;
  --secondary: #F7F7F7;
  --accent: #F6A434;
  --green: #278067;
  --brown: #8E735B;
  --sand: #F2E3CF;
  --earth: #E2D2B5;
  --offwhite: #FCFBF7;
  --shadow: 0 4px 12px rgba(25,53,77,0.08);
  --radius: 24px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--primary);
  background: var(--offwhite);
  line-height: 1.7;
  min-height: 100vh;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.13;
  margin-bottom: 0.7em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; }
p, ul, ol, li, blockquote { color: var(--primary); }
strong, b { color: var(--green); font-weight: 700; }

@media (max-width: 500px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
}

/* CONTAINERS/SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 20px;
}

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--offwhite);
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.17s;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  max-width: 350px;
  flex: 1 1 230px;
}
.card:hover {
  box-shadow: 0 8px 20px rgba(39, 128, 103, 0.12);
  transform: translateY(-2px) 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;
  align-items: center;
  gap: 20px;
  background: var(--sand);
  padding: 20px;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(39,128,103,0.10);
  margin-bottom: 20px;
  color: #24301e;
  font-size: 1rem;
  min-width: 220px;
  max-width: 500px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* FEATURE GRID: ORGANIC SHAPES */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--earth);
  border-radius: 26px 30px 22px 28px/30px 26px 30px 22px;
  padding: 22px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
}
.feature-grid > div:hover {
  background: #ecf5ea;
  box-shadow: 0 8px 24px rgba(39,128,103,.16);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

.text-section ul {
  margin-bottom: 0.7em;
  margin-top: 0.5em;
  color: var(--brown);
}

/* BUTTONS */
.button-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px 36px 30px 999px/50px 40px 999px 32px;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 15px 0 rgba(39,128,103,0.13);
  margin-top: 6px;
  margin-bottom: 6px;
  transition: box-shadow 0.18s, background 0.21s, transform 0.14s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.button-primary:hover, .button-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 20px 0 rgba(246, 164, 52, 0.14);
  transform: translateY(-2px) scale(1.02);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary);
  padding: 11px 22px;
  border-radius: 30px 999px 40px 22px/48px 24px 40px 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: none;
  margin-top: 6px;
  margin-bottom: 6px;
  transition: background 0.16s, color 0.2s, box-shadow 0.16s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(39,128,103,0.09);
}

/* NAVBAR HEADER */
header {
  background: var(--secondary);
  border-bottom: 2px solid var(--earth);
  box-shadow: 0 2px 12px 0 rgba(25,53,77,0.03);
  position: sticky;
  top: 0;
  z-index: 22;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
header a img {
  height: 48px;
  width: auto;
  margin-right: 14px;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 11px;
  border-radius: 14px;
  transition: background 0.13s, color 0.13s;
  font-size: 1.02rem;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  color: var(--primary);
  margin-left: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 370px;
  height: 100vh;
  background: var(--offwhite);
  box-shadow: -7px 0 22px 0 rgba(25,53,77,0.16);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.52,.03,.32,1.15);
  z-index: 3333;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 22px 24px 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  color: var(--primary);
  border-radius: 8px;
  padding: 6px 10px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 11px 0;
  color: var(--primary);
  border-radius: 8px;
  transition: background 0.13s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--green);
  color: #fff;
}

/* Hide nav/show hamburger on mobile */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* HERO SECTION */
section:first-of-type {
  background: linear-gradient(130deg, var(--earth) 53%, var(--secondary) 82%);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 24px #C8D1B7 0.11;
  margin-bottom: 0;
}
h1 + p {
  font-size: 1.17rem;
  margin-bottom: 0.8em;
  color: var(--brown);
}

/* FAQ & LOCAL INSIGHTS */
.faq-section, .local-insights {
  background: var(--sand);
  border-radius: 20px;
  padding: 18px 22px;
  margin-top: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(39,128,103,0.06);
}

.faq-section h3, .local-insights h3 {
  color: var(--green);
  font-size: 1.11rem;
  margin-bottom: 7px;
}

/* FOOTER */
footer {
  background: var(--earth);
  border-top: 2px solid var(--primary);
  margin-top: 64px;
  padding: 26px 0 8px 0;
  font-size: 1rem;
  color: var(--primary);
}
footer .container {
  gap: 15px;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
}
.footer-nav a {
  color: var(--green);
  text-decoration: underline dotted;
  transition: color 0.16s;
  border-radius: 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--primary);
  background: var(--accent);
}
footer img {
  display: inline-block;
  vertical-align: middle;
}
footer small {
  display: block;
  color: #4f6651;
  font-size: 0.98em;
  margin-top: 12px;
}
/* SOCIAL ICON LINKS */
footer a img {
  width: 27px;
  height: 27px;
  margin-right: 4px;
  transition: filter 0.2s;
}
footer a:hover img {
  filter: brightness(1.2) drop-shadow(0 2px 4px rgba(24,100,60,0.14));
}

/* CONTACT LIST WITH ICONS */
.text-section ul li img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  vertical-align: middle;
}

/* MICRO-INTERACTIONS FOR LINKS */
a {transition: color 0.2s, background 0.14s;}
a:focus {outline: 2px dotted var(--accent); outline-offset: 2px;}

/* TRANSITIONS */
.button-primary, .button-secondary, .main-nav a, .mobile-menu-toggle, .mobile-nav a, .footer-nav a {
  transition: background 0.17s, color 0.13s, box-shadow 0.14s, transform 0.12s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sand);
  color: var(--primary);
  box-shadow: 0 -3px 20px rgba(25,53,77,0.13);
  padding: 22px 26px 22px 24px;
  border-radius: 22px 22px 0 0/34px 34px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  z-index: 4444;
  max-width: 95vw;
  width: 700px;
  font-size: 1.05rem;
  animation: slideinBanner 0.37s cubic-bezier(.69,-0.02,.36,1.03);
}
@keyframes slideinBanner {
  from { opacity: 0; transform: translateX(-50%) translateY(60px);} 
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-banner .button-primary, .cookie-banner .button-secondary {
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 8px;
  font-size: 0.95em;
  padding: 10px 18px;
}
.cookie-banner .button-tertiary {
  background: transparent;
  color: var(--green);
  font-weight: 600;
  border-radius: 14px;
  padding: 10px 16px;
  margin-right: 0;
  margin-left: 4px;
  transition: background 0.14s, color 0.13s;
}
.cookie-banner .button-tertiary:hover, .cookie-banner .button-tertiary:focus {
  background: var(--accent);
  color: var(--primary);
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 8000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29,53,77,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeinModal 0.22s;
}
@keyframes fadeinModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--offwhite);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(39,128,103,0.16);
  max-width: 95vw;
  width: 420px;
  padding: 34px 31px 24px 31px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  font-size: 1.05rem;
  animation: slideinModal 0.39s cubic-bezier(.71,-0.02,.41,1.11);
}
@keyframes slideinModal {
  from { transform: translateY(44px); opacity: 0; } to { transform: none; opacity: 1; }
}
.cookie-modal h2, .cookie-modal h3 { color: var(--primary); }
.cookie-modal ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1em;
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1em;
  width: 100%;
}
.cookie-modal .category .switch {
  width: 44px;
  height: 24px;
  background: var(--earth);
  border-radius: 22px;
  position: relative;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .category .switch[data-checked="true"] {
  background: var(--green);
}
.cookie-modal .category .switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  top: 3px;
  left: 4px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s, background 0.19s;
  box-shadow: 0 1px 3px rgba(25,53,77,0.06);
}
.cookie-modal .category .switch[data-checked="true"]::after {
  left: 22px;
  background: var(--accent);
}
.cookie-modal .button-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 0;
  width: 100%;
  justify-content: flex-end;
}

/* ORGANIC SHAPES/DECORATIVE */
section, .feature-grid > div, .card, .testimonial-card, .faq-section, .local-insights {
  border-radius: 28px 24px 30px 22px/30px 34px 30px 26px;
}

/* ORGANIC CARD EFFECTS */
.card:before {
  content: '';
  position: absolute;
  right: 16px;
  top: 8px;
  width: 24px;
  height: 13px;
  background: var(--green);
  opacity: 0.11;
  border-radius: 999px 0 22px 44px;
  z-index: 0;
}

/* ACCESSIBLE FOCUS STYLES */
.button-primary:focus, .button-secondary:focus, .button-tertiary:focus, .main-nav a:focus, .mobile-nav a:focus, .footer-nav a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Z-INDEX/LAYERING */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 2000; }

/* MISCELLANEOUS */
.text-section {
  background: transparent;
  border-radius: 28px;
  padding: 0;
}
.text-section h3 { margin-top: 1em; margin-bottom: 0.5em; font-size: 1.05rem; color: var(--green);}
.text-section ul {
  list-style-type: disc;
  margin-left: 1.3em;
}
.text-section li::marker {
  color: var(--accent);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .content-grid,
  .feature-grid {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 22px 3vw;
    margin-bottom: 36px;
  }
  .feature-grid > div,
  .card {
    padding: 17px 9px;
    min-width: unset;
    max-width: unset;
    margin-bottom: 14px;
  }
  .testimonial-card {
    font-size: 0.97rem;
    padding: 15px 11px;
    gap: 11px;
    min-width: unset;
    max-width: unset;
  }
  .content-grid,
  .card-container,
  .feature-item,
  .footer-nav,
  .content-wrapper,
  .footer .content-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .text-image-section { flex-direction: column !important; gap: 13px; }
  footer .content-wrapper { gap: 17px; }
  .cookie-banner { 
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 6vw;
    width: 97vw;
    min-width: 0;
    max-width: 100vw;
    font-size: 0.97rem;
    gap: 14px;
  }
  .cookie-modal { padding: 20px 10px 16px 10px; width: 96vw; }
}

/* BAD BROWSER OVERRIDES */
@media (max-width: 450px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .content-wrapper { gap: 7px; }
}

/* FORMS (minimal, for contact page) */
input, textarea {
  border: 1.5px solid var(--earth);
  background: var(--secondary);
  border-radius: 18px;
  padding: 12px 17px;
  font-size: 1.04em;
  margin-bottom: 12px;
  min-width: 0;
  width: 100%;
  margin-top: 10px;
}
input:focus, textarea:focus {
  border-color: var(--green);
  outline: none;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar { width: 8px; background: var(--earth); }
::-webkit-scrollbar-thumb { background: var(--brown); border-radius: 5px; }

/* Hide visually elements for accessibility */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; clip: rect(1px,1px,1px,1px); overflow: hidden; border: 0; padding: 0; margin: -1px; }
