/* ============================== */
/* 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;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.6;
  background: #f8f9f5;
  color: #2F2E29;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.15s; }
img { max-width: 100%; display: block; border: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
strong { font-weight: 700; }
em { font-style: italic; }

/* =============== BRAND FONTS ============== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #212918;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.14; margin-bottom: 16px; font-weight: 800; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 16px; font-weight: 700; }
h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 12px; font-weight: 700; }
h4 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
p, ul, ol, li { font-size: 1rem; color: #2F2E29; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* =============== COLOR PALETTE ============== */
:root {
  --brand-primary: #23253A;
  --brand-secondary: #1797DB;
  --brand-accent: #FFE47A;
  --nature-green: #4E826E;
  --nature-olive: #9FAF75;
  --nature-tan: #E7D9B0;
  --nature-earth: #8C6D5A;
  --nature-bark: #5C574D;
  --nature-bg: #f8f9f5;
  --nature-paper: #F4F1EB;
}

/* =============== LAYOUT CONTAINERS ============== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--nature-paper);
  border-radius: 32px;
  box-shadow: 0 2px 16px rgba(76, 94, 64, 0.05);
}
@media (max-width: 900px) {
  .section { padding: 28px 10px; }
}

/* =============== HEADER & NAVIGATION ============== */
header {
  background: var(--nature-green);
  color: #fff;
  box-shadow: 0 1px 8px rgba(76, 94, 64, 0.07);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  min-height: 64px;
}
.logo img {
  height: 36px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(38, 60, 18, 0.10);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-weight: 500;
  color: #f8f9f5;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  padding: 3px 8px;
  border-radius: 10px;
  line-height: 1.7;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--nature-tan);
  color: var(--nature-green);
}
.main-nav .btn-primary {
  margin-left: 10px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 25;
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ========== MOBILE SLIDE-IN MENU ========== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(125deg, var(--nature-paper) 90%, var(--nature-tan) 100%);
  box-shadow: 2px 0 24px 10px rgba(74,80,50,0.12);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.75,0,0.2,1);
  padding: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  font-size: 2.4rem;
  color: var(--nature-green);
  background: none;
  border: none;
  z-index: 51;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: var(--brand-accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 40px 0 0 30px;
  width: 80vw;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--nature-green);
  padding: 8px 0;
  border-radius: 8px;
  font-family: 'Montserrat', 'Roboto', Arial,sans-serif;
  font-weight: 700;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--nature-tan);
  color: var(--brand-primary);
}

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* =============== HERO SECTIONS ============== */
.hero {
  background: linear-gradient(95deg, #F4F1EB 70%, #e2ecd6 100%);
  border-radius: 0 0 42px 42px / 0 0 30px 30px;
  margin-bottom: 42px;
  padding: 52px 0 44px;
  box-shadow: 0 4px 24px rgba(76, 94, 64, 0.05), 0 0px 0px 0 rgba(255,255,255,0.10);
}
.hero h1 {
  color: var(--nature-green);
  font-size: 2.25rem;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero p {
  font-size: 1.17rem;
  color: var(--brand-primary);
  margin-bottom: 24px;
}
.hero .btn-primary { margin-top: 6px; }

@media (max-width: 800px) {
  .hero { padding: 34px 0 20px; border-radius: 0 0 28px 28px / 0 0 15px 15px; }
  .hero h1 { font-size: 1.47rem; }
}

/* =============== FEATURE/ARTICLE/GRID STYLES ============== */
.feature-grid, .topic-grid, .card-container, .news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div, .topic-grid > .article-teaser {
  background: #e2ecd6;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(78, 130, 110, 0.09);
  padding: 28px 20px 22px 20px;
  flex: 1 1 min(290px, 90vw);
  min-width: 240px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #def2d8;
}
.feature-grid img, .topic-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fcfaf7;
  box-shadow: 0 2px 8px rgba(140, 109, 90, 0.06);
  border-radius: 22px;
  padding: 20px;
  border: 1px solid #ebe5cb;
}

.news-list {
  gap: 24px;
}
.news-list article {
  background: #f6fbea;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(79, 120, 86, 0.06);
  padding: 20px 22px 14px 22px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  border: 1px solid #d8ecd1;
  display: flex;
  flex-direction: column;
}
.news-list .category-tag {
  align-self: flex-end;
  margin-top: 10px;
  background: var(--nature-green);
  color: #fff;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 2px 12px 2px 12px;
  letter-spacing: 0.5px;
}
@media (max-width: 700px) {
  .feature-grid, .topic-grid, .card-container, .news-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* =============== BUTTONS ============== */
.btn-primary {
  background: var(--nature-green);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 10px 32px;
  font-size: 1.1rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1px;
  box-shadow: 0 1px 7px rgba(46,90,57,0.10);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.18s, color 0.12s;
  margin-top: 8px;
  margin-bottom: 8px;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 2px 18px 0 rgba(23,151,219, 0.13);
}
.btn-link {
  font-weight: 600;
  color: var(--nature-green);
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.18s;
  cursor: pointer;
}
.btn-link:hover, .btn-link:focus {
  color: var(--brand-secondary);
  text-decoration: none;
}

/* =============== FOOTER ============== */
footer {
  background: var(--brand-primary);
  color: #dbe2c8;
  padding: 40px 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}
footer .footer-nav a {
  color: #dbe2c8;
  font-size: 1.02rem;
  opacity: 0.89;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  padding: 3px 8px;
  border-radius: 8px;
  transition: background 0.17s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  background: var(--nature-bark);
  color: #fff;
}
footer .footer-contact {
  font-size: 0.97rem;
  opacity: 0.92;
  margin-bottom: 32px;
  text-align: center;
}
footer img {
  width: 48px;
  margin-bottom: 3px;
  border-radius: 10px;
}

/* =============== TESTIMONIAL STYLES ============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffbe9;
  padding: 20px;
  margin: 0 0 20px 0;
  border-radius: 16px 8px 20px 12px / 14px 12px 26px 10px;
  box-shadow: 0 2px 18px rgba(222,196,123,0.09);
  border-left: 6px solid var(--nature-green);
}
.testimonial-card p {
  color: #232410;
  font-size: 1.04rem;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--nature-green);
}

/* =============== CONTACT SECTION ============== */
.contact-details, .text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details img {
  vertical-align: middle;
  margin-right: 7px;
  width: 19px;
  height: 19px;
}

.cta-box {
  background: var(--nature-green);
  color: #fff;
  border-radius: 24px;
  padding: 28px 25px;
  margin-top: 28px;
  box-shadow: 0 2px 18px rgba(46, 90, 57, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.cta-box h2 { color: #fff; margin-bottom: 8px; font-size: 1.25rem;}
.cta-box p { color: #f8f9f5; }

@media (min-width: 769px) {
  .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;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* =============== FEATURE ITEM STYLE ============== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* =============== CARD SPECIFIC STYLES ============== */
.article-teaser {
  padding: 18px 16px;
  background: #faf6ed;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(140, 109, 90, 0.06);
  margin-bottom: 20px;
  border: 1px solid #ece2c9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =============== EXPERT PREVIEW (PODCAST) ============== */
.expert-previews {
  background: #e2ecd6;
  border-radius: 12px;
  padding: 12px 22px;
  margin: 14px 0 26px 0;
  box-shadow: 0 2px 8px rgba(78,130,110,0.04);
  font-size: 1rem;
  color: var(--nature-bark);
  display: flex;
  align-items: center;
  gap: 16px;
}
.expert-previews img { width: 26px; height: 26px; margin-right: 6px; }

/* =============== UL/LIST STYLES ============== */
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 2px;
}
ul li::before {
  content: '•';
  color: var(--nature-green);
  font-size: 1.35em;
  display: inline-block;
  width: 1.2em;
  margin-left: -1.2em;
  vertical-align: middle;
  line-height: 1.2;
}
ul ul, ol ol, ul ol, ol ul { margin-left: 20px; }

/* =============== SPACING HELPERS & RESPONSIVE BREAKS ============== */
.mb-40 { margin-bottom: 40px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.pt-20 { padding-top: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }

/* =============== MICRO-INTERACTIONS & TRANSITIONS ============== */
a, button, .btn-primary, .main-nav a, .footer-nav a {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, border 0.17s;
}
.card, .card-container > * {
  transition: transform 0.17s cubic-bezier(.43,.41,.11,.94), box-shadow 0.22s;
}
.card:hover,.card:focus, .article-teaser:hover, .article-teaser:focus {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 32px rgba(78,130,110,0.11);
  z-index: 2;
}
.feature-grid > div:hover, .topic-grid > .article-teaser:hover {
  border-color: var(--nature-green);
}

/* =============== FORMS (INPUTS/SELECTS) ============== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid #b6baaa;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 8px 0 20px 0;
  background: #f5f8f1;
  color: #232410;
  outline: none;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--nature-green);
}

/* =============== COOKIE CONSENT BANNER ============== */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe9;
  color: #3c4823;
  box-shadow: 0 -2px 16px rgba(90,80,66,0.09);
  padding: 20px 16px 20px 20px;
  z-index: 100;
  font-size: 1rem;
  gap: 24px;
  border-top: 2.5px solid var(--nature-green);
  animation: cookieSlideIn 0.44s 0.1s cubic-bezier(.66,.34,.18,1.27);
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-banner button, .cookie-banner .btn-cookie {
  border-radius: 10px;
  padding: 8px 20px;
  font-family: 'Montserrat','Roboto',sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-right: 4px;
  transition: color 0.15s, background 0.16s;
}
.btn-cookie-accept {
  background: var(--nature-green);
  color: #fff;
}
.btn-cookie-accept:hover, .btn-cookie-accept:focus {
  background: var(--brand-secondary);
}
.btn-cookie-reject {
  background: #ebe5cb;
  color: var(--nature-green);
  border: 1.2px solid var(--nature-green);
}
.btn-cookie-reject:hover, .btn-cookie-reject:focus {
  background: #ecaaa9;
  color: #fff;
}
.btn-cookie-settings {
  background: var(--nature-tan);
  color: var(--brand-primary);
  border: 1.2px solid var(--nature-bark);
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #f5d76d;
  color: var(--nature-green);
}
@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 10px 16px 12px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-actions { gap: 12px; }
}
@keyframes cookieSlideIn {
  0% { transform: translateY(100px); opacity: 0; }
  45% { opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

/* =============== COOKIE SETTINGS MODAL ============== */
.cookie-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 105;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,52,38,0.24);
  opacity: 1;
  pointer-events: all;
  animation: modalFadeIn 0.18s;
}
.cookie-modal {
  background: #fffbe9;
  border-radius: 24px;
  padding: 34px 28px 24px 28px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 92vh;
  box-shadow: 0 8px 32px 0 rgba(23,64,43,0.11);
  animation: modalPopIn 0.25s;
  color: #232410;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  color: var(--nature-green);
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f4f1eb;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #262b1e;
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--nature-green);
  width: 21px;
  height: 21px;
}
.cookie-modal .cookie-actions {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 2rem;
  color: var(--nature-green);
  border: none;
  background: none;
  cursor: pointer;
}
@media (max-width:500px) {
  .cookie-modal {
    min-width: 220px;
    padding: 21px 6vw 12px 6vw;
  }
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalPopIn {
  0% { transform: scale(0.96); opacity: 0; }
  90% { opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* =============== SPECIAL - NATURE/ORGANIC DECOR ============== */
.section, .card, .testimonial-card, .feature-grid > div, .topic-grid > .article-teaser, .cta-box {
  border-radius: 30px 18px 22px 50px/20px 28px 45px 28px ;
}
@media (max-width: 600px) {
  .section, .card, .testimonial-card, .feature-grid > div, .topic-grid > .article-teaser, .cta-box {
    border-radius: 18px 12px 18px 24px /12px 8px 20px 10px ;
  }
}

/* SUBTLE NATURE TEXTURE BG */
.section {
  background-image: url('../assets/deco/subtle-leaf-texture.webp'), linear-gradient(124deg, #F4F1EB 85%, #e2ecd6 100%);
  background-repeat: repeat;
  background-size: 280px, auto;
}

/* Organic dividers / details */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, var(--nature-green) 0%, #D8ECD1 50%, var(--nature-green) 100%);
  margin: 30px 0;
  border-radius: 2px;
  opacity: 0.38;
}

/* =============== ACCESSIBILITY & MISC ============== */
:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

[tabindex='-1']:focus { outline: none !important; }

@media (max-width: 600px) {
  .section { margin-bottom: 35px; padding: 22px 4vw; }
  .testimonial-card { padding: 12px 8px; }
}

/* ========== HIDE LAST-MINUTE MOBILE SPACING JITTERS ========== */
@media (max-width: 430px) {
  .feature-grid > div, .topic-grid > .article-teaser, .news-list article, .card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Hide scrollbars (look cleaner for mobile modal) */
body.modal-open {
  overflow: hidden;
}

/* ================= END CSS ================= */