/* =========================================================
   CSS RESET & BASE TYPOGRAPHY - MOBILE FIRST
========================================================= */
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: 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.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8F6F3;
  color: #283127;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #277985;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #23374D;
}
ul, ol {
  padding-left: 1.2em;
}
img {
  max-width: 100%;
  display: block;
}

/* ================================
   BRAND FONTS
================================ */
:root {
  --brand-primary: #1A2636;
  --brand-secondary: #FFFFFF;
  --brand-accent: #277985;
  --organic-olive: #537057;
  --organic-forest: #283127;
  --organic-sand: #F3ECDA;
  --organic-earth: #CAB89A;
  --organic-leaf: #7BC282;
  --organic-lightgreen: #DCF0DD;
  --background: #F8F6F3;
  --heading-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
  --shadow-low: 0 2px 6px rgba(44,52,34, 0.07);
  --shadow-med: 0 4px 20px rgba(44,80,33,0.13);
  --radius-xs: 6px;
  --radius-sm: 14px;
  --radius-lg: 32px;
}

body {
  font-size: 16px;
  background: var(--background);
  color: var(--organic-forest);
  font-family: var(--body-font);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--organic-olive);
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.subtitle {
  color: var(--organic-forest);
  font-size: 1.125rem;
  margin-bottom: 22px;
  font-family: var(--body-font);
  font-weight: 400;
  letter-spacing: 0.04em;
}
p {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--organic-forest);
}
strong {
  color: var(--brand-primary);
  font-weight: 700;
}

/* =====================================
   LAYOUT: CONTAINER & PRIMARY PADDING
====================================== */
.container {
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--organic-sand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-low);
  position: relative;
  overflow: hidden;
  /* For organic shape overlays add here if needed */
}
/* spacing/cosmetic: visually distinguish main <section>s and containers */
main {
  padding-top: 30px;
  padding-bottom: 30px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--brand-secondary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-low);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow .18s, transform .15s;
}
.card:hover,
.card:focus-within {
  box-shadow: var(--shadow-med);
  transform: translateY(-4px) scale(1.017);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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: 20px;
  padding: 20px;
  background: var(--organic-lightgreen);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-low);
  margin-bottom: 20px;
  max-width: 500px;
  color: #162615;
}
.testimonial-card p {
  font-size: 1.125rem;
  color: #162615;
}
.stars {
  color: var(--organic-leaf);
  font-size: 1.1em;
  letter-spacing: 1.5px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
}
.guide-card {
  background: var(--brand-secondary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-low);
  padding: 22px 18px 20px 18px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  transition: box-shadow .18s, transform .09s;
}
.guide-card:hover {
  box-shadow: var(--shadow-med);
  transform: translateY(-3px) scale(1.012);
}
.faq-accordion > div {
  background: var(--organic-lightgreen);
  padding: 14px 18px;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
  box-shadow: var(--shadow-low);
}

.categories {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--organic-olive);
  font-size: 1rem;
  margin-bottom: 6px;
}
.categories a {
  background: var(--organic-leaf);
  color: #184622;
  border-radius: var(--radius-xs);
  padding: 3px 14px;
  font-size: 0.97rem;
  transition: background 0.18s, color 0.18s;
}
.categories a:hover {
  background: var(--brand-accent);
  color: #FFFFFF;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0 0;
}
.quick-links a {
  color: var(--organic-olive);
  background: var(--organic-sand);
  border-radius: var(--radius-xs);
  padding: 3px 12px;
  transition: background 0.18s;
}
.quick-links a:hover {
  background: var(--organic-leaf);
  color: #184622;
}

/* ========================
   HEADER & NAVIGATION
========================= */
header {
  background: var(--brand-secondary);
  box-shadow: 0 2px 7px rgba(44,80,33,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: none;
  gap: 14px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  color: var(--brand-primary);
  padding: 7px 13px;
  font-family: var(--heading-font);
  font-weight: 500;
  border-radius: var(--radius-xs);
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--organic-leaf);
  color: #172516;
}
.cta-btn {
  background: var(--brand-accent);
  color: var(--brand-secondary);
  border: none;
  outline: none;
  border-radius: 999px;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 11px 28px;
  box-shadow: var(--shadow-low);
  margin-left: 20px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, transform 0.09s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--organic-leaf);
  color: #184622;
  transform: translateY(-2px) scale(1.03);
}
.cta-btn.secondary {
  background: var(--organic-olive);
  color: #fff;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--organic-earth);
  color: #1A2636;
}

/* =============================
   MOBILE MENU & NAVIGATION
============================== */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: var(--brand-primary);
  font-size: 2.1rem;
  padding: 7px 10px;
  margin-left: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: var(--radius-xs);
  z-index: 51;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--organic-sand);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248,246,243,0.96);
  box-shadow: 0 0 0 5000px rgba(44,80,33,0.01);
  z-index: 1001;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.58,.16,.28,.92);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 18px 20px;
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.4rem;
  color: var(--brand-primary);
  cursor: pointer;
  border-radius: var(--radius-xs);
  padding: 7px 12px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--organic-sand);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 50px 0 0 34px;
}
.mobile-nav a {
  font-size: 1.27rem;
  color: var(--organic-forest);
  font-family: var(--heading-font);
  font-weight: 600;
  padding: 10px 8px;
  border-radius: var(--radius-xs);
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--organic-leaf);
  color: #184622;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* Hide mobile menu on wider screens */
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================================
   FOOTER STYLES
==================================== */
footer {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  padding: 0 0 16px 0;
  box-shadow: 0 -2px 12px rgba(42,53,43,0.033);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 0 0 0;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 8px;
}
.footer-nav, .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 4px;
}
.footer-nav a, .footer-links a {
  color: var(--organic-sand);
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  transition: background 0.19s, color 0.17s;
}
.footer-nav a:hover, .footer-links a:hover {
  background: var(--brand-accent);
  color: #fff;
}
.legal-info {
  font-size: 0.99rem;
  color: var(--organic-earth);
  margin-top: 11px;
}

@media (min-width: 680px) {
  .footer-content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* =========================
   SPECIAL ELEMENTS
========================== */
input[type="search"] {
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow-low);
  background: var(--organic-lightgreen);
  color: #1A2636;
  font-size: 1rem;
  margin-bottom: 12px;
  outline: none;
  transition: box-shadow 0.14s;
}
input[type="search"]:focus {
  box-shadow: var(--shadow-med);
}

/* =========================
   RESPONSIVE ADJUSTMENTS
========================= */
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  main {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .section {
    margin-bottom: 42px;
    padding: 24px 7px;
  }
  .container {
    padding: 0 10px;
  }
  .footer-content {
    padding: 18px 0 0 0;
    gap: 16px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px;
    font-size: 1rem;
  }
}

/* ============================
   COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--organic-forest);
  color: #fff;
  z-index: 9999;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 24px 16px;
  box-shadow: 0 -2px 15px rgba(42,53,63,0.09);
  transition: transform 0.29s cubic-bezier(.35,1.56,.79,.67), opacity 0.19s;
  transform: translateY(0);
  opacity: 1;
  gap: 20px;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner-text {
  font-size: 1rem;
  margin-bottom: 6px;
  text-align: center;
  max-width: 700px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn, .cookie-btn-secondary {
  border: none;
  border-radius: var(--radius-xs);
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 26px;
  color: #fff;
  cursor: pointer;
  background: var(--organic-leaf);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: var(--shadow-low);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: var(--shadow-med);
}
.cookie-btn-secondary {
  background: transparent;
  border: 2px solid var(--organic-leaf);
  color: var(--organic-leaf);
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: var(--organic-leaf);
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 12000;
  background: rgba(32,41,27, 0.38);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--brand-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-med);
  max-width: 430px;
  width: 100%;
  padding: 34px 20px 22px 20px;
  color: var(--organic-forest);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalAppear 0.33s cubic-bezier(.49,.79,.31,1.15) 1;
}
@keyframes cookieModalAppear {
  0% { opacity: 0; transform: translateY(60px) scale(.93); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: transparent;
  border: none;
  font-size: 1.4em;
  color: var(--brand-primary);
  cursor: pointer;
  z-index: 10;
}
.cookie-modal-cats {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal-cats label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  user-select: none;
}
.cookie-modal-cats input[type='checkbox'] {
  accent-color: var(--organic-leaf);
  width: 18px;
  height: 18px;
}
.cookie-modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 16px 5px 12px 5px;
    max-width: 97vw;
  }
}

/* ===============
GLOBAL OVERRIDES
================= */
::-webkit-input-placeholder { color: #9ca788; }
::-moz-placeholder { color: #9ca788; }
:-ms-input-placeholder { color: #9ca788; }
::placeholder { color: #9ca788; }

.hide {
  display: none !important;
}

/* ===============
   ACCESSIBILITY
================= */
a, button, input, .cta-btn, .cookie-btn {
  outline: none;
}
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 0 2px var(--organic-leaf) !important;
  z-index: 100;
}

/* ===============
   UTILITIES
================= */
.mt-24 { margin-top: 24px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.gap-10 { gap: 10px !important; }
.gap-24 { gap: 24px !important; }
.flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-center { align-items: center !important; }
align-start { align-items: flex-start !important; }
.flex-col { flex-direction: column !important; }
.space-between { justify-content: space-between !important; }

/* ==============
 PRINT OVERRIDE
=============== */
@media print {
  header, .footer-content, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff !important; }
}
section {
  padding: 15px;
}