/* 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,
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,
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F7FAF9;
  color: #20503A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* BRAND COLOR VARIABLES (with fallbacks) */
:root {
  --color-primary: #20503A;
  --color-secondary: #D9B65B;
  --color-accent: #E9F5EE;
  --color-pastel-green: #D6EFED;
  --color-pastel-yellow: #FDF7DA;
  --color-pastel-peach: #FFE8DD;
  --color-pastel-blue: #E3F0FF;
  --color-pastel-mint: #F0F8F2;
  --color-card-bg: #FFFFFF;
  --color-border: #E7E7E7;
  --color-shadow: rgba(120,170,130,0.08);
  --color-btn-gradient: #F6ECDC;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6, .hero h1, .cta-btn {
  font-family: 'Roboto Slab', 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem; /* 32px */
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  font-weight: 500;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
}
.subheadline {
  color: #67A69E;
  font-size: 1.15rem;
  margin-bottom: 30px;
  font-weight: 400;
}
strong {
  font-weight: bold;
  color: var(--color-primary);
}

/* GENERAL CONTAINERS & SECTION SPACING */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-pastel-mint);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--color-shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 32px 6vw;
    margin-bottom: 40px;
  }
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px var(--color-shadow);
  transform: translateY(-2px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-pastel-blue);
  border-radius: 18px;
  box-shadow: 0 2px 18px var(--color-shadow);
  margin: 20px 0 0 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card p {
  color: #23453b;
  font-size: 1.08rem;
}
.testimonial-card .testimonial-name {
  color: #6a7b68;
  font-size: 0.95rem;
  margin-left: 10px;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px var(--color-shadow);
  transform: scale(1.012);
}
.feature-grid, .tip-grid, .story-grid, .article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 900px) {
  .feature-grid, .tip-grid, .story-grid, .article-preview-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .tip-grid, .story-grid, .article-preview-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #edf2ef 0%, #e9f5ee 100%);
  box-shadow: 0 3px 14px var(--color-shadow);
  border-bottom: 1px solid #DFEAE1;
  z-index: 50;
}
header .container {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 50px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  padding: 6px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: #11513b;
  background: var(--color-accent);
}
.cta-btn {
  margin-left: 32px;
  background: var(--color-secondary);
  color: #204228;
  font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 28px;
  box-shadow: 0 2px 10px var(--color-shadow);
  border: none;
  transition: background 0.2s, color 0.15s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #f6e5bc;
  color: #11684b;
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 18px;
  top: 20px;
  background: var(--color-secondary);
  color: #204228;
  font-size: 2.05rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 6px var(--color-shadow);
  width: 48px;
  height: 48px;
  z-index: 200;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover {
  background: #ffe5b5;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(225,242,226,0.99);
  box-shadow: 0 12px 40px 2px rgba(50,80,90,0.09);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.8,.16,.16,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #20503A;
  background: transparent;
  border: none;
  padding: 14px 18px 6px 6px;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  margin-top: 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 0 28px;
}
.mobile-nav a {
  color: #20503A;
  font-size: 1.11rem;
  font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
  background: transparent;
  border-radius: 10px;
  padding: 12px 10px;
  width: 100%;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-peach);
  color: #11513b;
}
@media (max-width: 1020px) {
  nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1020px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(120deg, #e3f4f2 55%, #fdf7da 100%);
  min-height: 280px;
  display: flex;
  align-items: center;
  margin-bottom: 44px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 6px 32px var(--color-shadow);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 240px;
}
.hero .content-wrapper {
  max-width: 630px;
}
.hero h1 {
  font-size: 2.6rem;
  color: #20503A;
  margin-bottom: 14px;
  font-weight: 800;
  text-shadow: 0 4px 14px #e7f3e8;
}

@media (max-width: 600px) {
  .hero .content-wrapper h1 {
    font-size: 2rem;
  }
}

/* FEATURES, ARTICLES, TIPS, TEAM & OTHER CARDS */
.feature-grid > div,
.tip-grid > div,
.story-grid > div,
.article-preview-grid > div,
.spotlight-card,
.values ul li,
.team ul li {
  background: var(--color-pastel-blue);
  border-radius: 15px;
  padding: 24px 20px 16px 20px;
  box-shadow: 0 1px 10px var(--color-shadow);
  flex: 1 1 250px;
  transition: box-shadow 0.15s, transform 0.18s;
  min-width: 220px;
}
.feature-grid > div:hover,
.tip-grid > div:hover,
.story-grid > div:hover,
.article-preview-grid > div:hover {
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.02);
}
.spotlight-card {
  background: var(--color-pastel-peach);
  box-shadow: 0 3px 22px var(--color-shadow);
  text-align: left;
  margin-top: 14px;
}
.filters, .category-filter, .location-filters {
  margin-top: 28px;
  font-size: 0.97rem;
  color: #475a4c;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.filters a, .category-filter a, .location-filters a {
  color: #325f53;
  border-bottom: 1px dotted #cabd86;
  transition: color 0.2s, border-color 0.2s;
}
.filters a:hover, .category-filter a:hover, .location-filters a:hover {
  color: #d9b65b;
  border-bottom: 1px solid #ffeabc;
}

/* ABOUT, VALUES, TEAM */
.about, .values, .team {
  background: linear-gradient(105deg, #FDF7DA 60%, #f7faf9 100%);
  border-radius: 16px;
  margin-bottom: 56px;
}
.values ul li {
  margin-bottom: 16px;
  min-width: 180px;
}
.team ul li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #325f53;
}

/* LISTS, FAQ, ULs */
ul {
  list-style: disc inside;
  margin-bottom: 10px;
}
li {
  margin-bottom: 10px;
}
.faq-item {
  background: var(--color-pastel-green);
  border-radius: 15px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 20px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.faq-item h3 {
  font-size: 1.15rem;
}
.faq-item:hover {
  box-shadow: 0 4px 16px var(--color-shadow);
  transform: translateY(-2px) scale(1.012);
}

/* CTA SECTION */
.cta {
  background: linear-gradient(85deg, #E3F0FF 45%, #FFE8DD 115%);
  box-shadow: 0 3px 32px var(--color-shadow);
  margin-bottom: 62px;
  border-radius: 24px;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-btn {
  margin-top: 20px;
}

/* CONTACT PAGE */
.contact ul li {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--color-pastel-mint);
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 13px 16px;
}
.contact ul li img {
  width: 22px; height: 22px;
}
.contact a {
  color: #34836d;
  text-decoration: underline;
}
.contact a:hover {
  color: #D9B65B;
}

/* FOOTER */
footer {
  background: #e9f5ee;
  border-top: 1px solid #e5f0e4;
  box-shadow: 0 -3px 40px var(--color-shadow);
  margin-top: 54px;
  font-size: 0.98rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 12px 0;
  gap: 18px;
}
.footer-top nav {
  gap: 14px;
}
.footer-top img {
  max-height: 40px;
}
.footer-bottom {
  padding: 12px 0;
  border-top: 1px dotted #d9b65b;
  text-align: center;
  color: #67876a;
}
@media (max-width: 750px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* THANK YOU PAGE */
.thank-you .content-wrapper {
  text-align: center;
}
.thank-you h1 {
  color: #20503A;
  font-size: 2.2rem;
  margin-bottom: 22px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; 
  right: 0;
  background: linear-gradient(90deg, #FDF7DA 40%, #E3F0FF 100%);
  color: #234a3e;
  box-shadow: 0 -2px 18px var(--color-shadow);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 8vw 18px 8vw;
  z-index: 1000;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 1.02rem;
  animation: fadein 0.7s;
}
@keyframes fadein {
  from { opacity: 0; bottom: -40px; }
  to { opacity: 1; bottom: 0; }
}
.cookie-consent-banner p {
  flex: 2 1 260px;
  margin-right: 16px;
  color: #234a3e;
}
.cookie-consent-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  border: none;
  outline: none;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 1.07rem;
  font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
  color: #20503A;
  background: var(--color-secondary);
  cursor: pointer;
  box-shadow: 0 1px 6px #e3eddf;
  margin-right: 8px;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
}
.cookie-btn.settings {
  background: var(--color-pastel-blue);
  color: #318a65;
  border: 1px solid #dbe1c4;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffeab0;
  color: #234a3e;
  box-shadow: 0 2px 18px var(--color-shadow);
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 14px;
    padding: 20px 4vw 18px 4vw;
    font-size: 1rem;
  }
  .cookie-consent-btns {
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(180,200,190,0.44);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.3s;
}
.cookie-modal {
  background: var(--color-pastel-mint);
  border-radius: 20px;
  box-shadow: 0 12px 34px var(--color-shadow);
  padding: 36px 26px 32px;
  width: 94vw;
  max-width: 410px;
  animation: modalin 0.37s cubic-bezier(.7,.25,.22,1);
  position: relative;
}
@keyframes modalin {
  from { transform: translateY(60px) scale(0.95); opacity: 0.72; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.23rem;
  margin-bottom: 18px;
  color: #215842;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #D9B65B;
  width: 18px; height: 18px;
}
.cookie-category label {
  font-size: 1.04rem;
  color: #286451;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 17px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #758874;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:hover {
  color: #c93;
}

/* UTILITY & ACCESSIBILITY */
*:focus-visible {
  outline: 2px dashed #f6ba3b;
  outline-offset: 2px;
}
[aria-current="page"] {
  font-weight: bold;
  border-bottom: 2px solid var(--color-secondary);
  background: var(--color-accent);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1040px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 600px) {
  body, p, li, .faq-item {
    font-size: 0.97rem;
  }
  .hero, .cta, .about, .values, .team, .section {
    border-radius: 10px;
    box-shadow: 0 2px 11px var(--color-shadow);
  }
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 0.98rem; }
}

/* MICRO-INTERACTIONS */
.spotlight-card:hover {
  box-shadow: 0 6px 22px var(--color-shadow);
  transform: scale(1.018);
}
.feature-grid > div:active,
.tip-grid > div:active,
.story-grid > div:active,
.article-preview-grid > div:active {
  background: #ebf4ef;
}
.cta-btn:active, .cookie-btn:active {
  background: #ffe7aa;
  color: #216854;
}

/* DIALOG NO OVERLAP */
.cookie-modal, .cookie-modal-overlay, .cookie-consent-banner { box-sizing: border-box; }

/* END CSS */