/* --- CSS RESET & BASE VARIABLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #F5F6EF;
  color: #2A3A23;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #26547C;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover,
a:focus {
  color: #2bb878;
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23433b;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem;  margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }

strong, b {
  font-weight: bold;
}

p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #2A3A23;
}

/* --- LAYOUT WRAPPERS & SPACING --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 30px;
  background: #F5F6EF;
  box-shadow: 0 4px 20px 0 rgba(78,88,71,.06);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #f2f5ec;
  box-shadow: 0 2px 12px 0 rgba(67, 89, 47, .07);
  position: relative;
  z-index: 101;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
header nav a {
  padding: 6px 8px;
  font-size: 1rem;
  color: #26547C;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background-color .15s, color .15s;
}
header nav a:hover,
header nav a:focus {
  background-color: #e0e9ce;
  color: #2bb878;
}
header img {
  height: 44px;
}

.cta.primary {
  background: #26547C;
  color: #FFFFFF !important;
  padding: 12px 28px;
  border-radius: 1000px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-left: 24px;
  box-shadow: 0 6px 24px 0 rgba(38,84,124,.07);
  transition: background 0.18s, color 0.18s, transform .12s;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
}
.cta.primary:hover, 
.cta.primary:focus {
  background: #2bb878;
  color: #23433b !important;
  transform: translateY(-2px) scale(1.03);
}

/* --- FLEXBOX CONTENT SECTIONS --- */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.text-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 24px 36px 28px 42px;
  box-shadow: 0 2px 14px 0 rgba(45, 97, 57, .12);
  flex: 1 0 260px;
  padding: 28px 22px 24px 26px;
  min-width: 240px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .15s, transform .13s;
  margin-bottom:20px;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 28px 0 rgba(50,112,80,.16);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

/* --- CARDS & INTERACTIVE --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 27px 33px 28px 42px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 rgba(88,120,94,.09);
  position: relative;
  padding: 30px 26px;
  flex: 1 0 260px;
  min-width: 240px;
  transition: box-shadow .17s, transform .11s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(60,111,67,.15);
  transform: translateY(-5px) scale(1.025);
}

.interactive-cards {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.interactive-cards > div {
  background: #e6f4eb;
  border-radius: 22px 38px 26px 30px;
  box-shadow: 0 2px 8px rgba(34,76,49,.09);
  padding: 18px 18px 14px 20px;
  flex: 1 0 200px;
  margin-bottom:20px;
}

.price {
  color: #4F6F47;
  font-weight: 600;
  background: #f0ebdb;
  padding: 4px 11px;
  border-radius: 900px;
  font-size: 1rem;
  margin-top: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.categories-overview {
  background: #e6f4eb;
  border-radius: 20px 36px 24px 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
}
.highlighted-story {
  background: #f2efe3;
  border-radius: 30px 22px 22px 38px;
  padding: 24px 40px;
  font-style: italic;
  color: #246050;
}

/* --- TESTIMONIALS SECTION --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 26px;
  background: #f8faf3;
  color: #225141;
  border-left: 6px solid #2bb878;
  border-radius: 0 33px 27px 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(45, 97, 57, .08);
  min-width: 260px;
}
.testimonial-card p {
  color: #2A3A23;
  font-size: 1.07rem;
  margin-bottom: 0;
}
.testimonial-card span:last-child {
  color: #E5BE63;
  font-size: 1.05rem;
  margin-left: 8px;
}

/* --- TABLES ---*/
table {
  width: 100%;
  background: #fff;
  border-radius: 18px 30px 18px 20px;
  box-shadow: 0 2px 11px 0 rgba(67, 89, 47, .07);
  overflow: hidden;
  margin-bottom: 22px;
  border-collapse: collapse;
  font-size: 1rem;
}
th, td {
  padding: 18px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background: #e6f4eb;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #214747;
  font-weight: 700;
}
td {
  background: #fbfbf8;
  color: #29423a;
}
tr:not(:last-child) td {
  border-bottom: 1px solid #e7efea;
}

/* --- FOOTER --- */
footer {
  background: #3B4C37;
  color: #FFF;
  padding: 30px 0 0 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
footer nav a {
  color: #F9F871;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 6px 10px;
  transition: background 0.14s;
}
footer nav a:hover,
footer nav a:focus {
  background: #2bb878;
  color: #fff;
}
footer div:last-child {
  font-size: 0.93rem;
  color: #e6f4eb;
  margin-bottom: 0;
  padding-bottom: 18px;
}

/* --- MOBILE NAVIGATION (BURGER MENU) --- */
.mobile-menu-toggle {
  display: none;
  background: #2bb878;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 14px;
  padding: 7px 15px;
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 201;
  cursor: pointer;
  transition: background .18s, transform .13s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #26547C;
  color: #fff;
  transform: scale(1.08);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35, 67, 59, 0.97);
  color: #fff;
  z-index: 202;
  transform: translateX(100vw);
  transition: transform 0.34s cubic-bezier(.77,.12,.24,1.13);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 20px;
  margin-right: 28px;
  background: none;
  color: #F9F871;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  z-index: 205;
  padding: 4px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 60px 36px 0 0;
  align-items: flex-end;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: color .16s, background .14s;
  border-radius: 8px;
  padding: 10px 24px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #2bb878;
  color: #F9F871;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #f6fff5;
  color: #293F23;
  box-shadow: 0 -2px 18px rgba(67, 89, 47, .10);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  z-index: 701;
  padding: 26px 24px 22px 20px;
  border-radius: 30px 30px 0 0;
  font-size: 1rem;
  animation: slideUpBanner .4s;
}
@keyframes slideUpBanner {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 1000px;
  padding: 8px 22px;
  border: none;
  cursor: pointer;
  outline: none;
  margin-bottom: 0;
  transition: background .19s, color .14s, transform .14s;
}
.cookie-banner .accept {
  background: #2bb878;
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #26547C;
  color: #fff;
  transform: scale(1.06);
}
.cookie-banner .reject {
  background: #26547C;
  color: #F9F871;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #fff;
  color: #26547C;
  transform: scale(1.03);
}
.cookie-banner .settings {
  background: #f2f5ec;
  color: #29423a;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #e6f4eb;
  color: #2bb878;
  transform: scale(1.04);
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(48, 54, 43, .55);
  z-index: 703;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .25s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #29423a;
  border-radius: 34px 30px 24px 42px;
  box-shadow: 0 8px 46px rgba(62,97,59, .16);
  max-width: 410px;
  width: 90vw;
  padding: 38px 34px 28px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalRise .35s;
}
@keyframes modalRise {
  from { transform: translateY(38px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #26547C;
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e6f4eb;
  margin-bottom: 10px;
  padding: 10px 13px;
  border-radius: 16px;
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.cookie-modal .cookie-category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: #2bb878;
}
.cookie-modal .cookie-actions-modal {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}
.cookie-modal .save {
  background: #2bb878;
  color: #fff;
  font-weight: 700;
  border-radius: 1000px;
  padding: 8px 22px;
  border: none;
  cursor: pointer;
}
.cookie-modal .save:hover {
  background: #26547C;
}
.cookie-modal .reset {
  background: #f2f5ec;
  color: #29423a;
}
.cookie-modal .reset:hover {
  background: #e6f4eb;
  color: #2bb878;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.7rem;
  color: #2bb878;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {
  color: #E5BE63;
}
/* Essential cookies always enabled */
.cookie-modal .cookie-category input[disabled] {
  opacity: .55;
  pointer-events: none;
}

/* --- ORGANIC SHAPE & NATURE AESTHETICS --- */
.section, .feature-grid > div, .card, .testimonial-card, .interactive-cards > div, .categories-overview, .highlighted-story, .cookie-modal {
  /* Subtle natural texture */
  background-image: url('../assets/organic-texture.png'), none;
  background-blend-mode: soft-light;
  background-repeat: repeat;
  /* If no image, fallback to background color */
}

.section, .feature-grid > div, .card, .testimonial-card, .interactive-cards > div, .card, .cookie-modal {
  box-shadow: 0 2px 18px 0 rgba(62,92,70,.07);
}

/* --- FORM & INPUT STYLE --- */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1px solid #B8C3A6;
  border-radius: 16px;
  background: #f6fff5;
  color: #23433b;
  margin-bottom: 18px;
  outline: none;
  transition: border .14s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #2bb878;
  box-shadow: 0 2px 8px 0 rgba(43,184,120,.09);
}

button, .cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 1000px;
  padding: 10px 30px;
  margin-bottom: 0;
  cursor: pointer;
  transition: background .16s, color .13s, transform .10s;
}
button:active, .cta:active {
  transform: scale(0.98);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 720px;
  }
  .feature-grid > div, .card {
    min-width: 160px;
    padding: 20px 15px;
  }
}
@media (max-width: 768px) {
  html { font-size: 97%; }
  body { font-size: 15px; }
  header .container, footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  header nav, footer nav {
    gap: 12px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .interactive-cards {
    flex-direction: column;
    gap: 14px;
  }
  .section {
    padding: 30px 5vw;
    margin-bottom: 40px;
  }
  .testimonial-card {
    padding: 18px 12px;
    border-radius: 0 21px 16px 20px;
  }
  .card, .feature-grid > div {
    padding: 17px 8vw;
    border-radius: 18px 22px 18px 22px;
  }
  .categories-overview, .highlighted-story {
    padding: 12px 5vw;
    border-radius: 13px 18px 12px 14px;
  }
  .mobile-menu-toggle {
    display: block;
    right: 16px;
    top: 12px;
    padding: 7px 12px;
  }
  header nav,
  .cta.primary {
    display: none;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  table {
    font-size: 0.98rem;
  }
}
@media (max-width: 600px) {
  html { font-size: 94%; }
  body { font-size: 14px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
}

/* --- FLEXBOX LAYOUT CLASSES (MANDATORY SPACING) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- ADDITIONAL UTILITY CLASSES --- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* --- TRANSITIONS / MICRO-INTERACTIONS --- */
button, .cta, .card, .feature-grid > div, .testimonial-card, .interactive-cards > div, .mobile-nav a, .cookie-banner button, .cookie-modal .save {
  transition: background .18s, color .14s, box-shadow .21s, transform .13s;
}

/* --- ORGANIC DECORATIVE ELEMENTS (OPTIONAL SHAPE LAYERS) --- */
/* Optionally add floating leaves or hand-drawn svg borders as absolutely positioned ::before/::after. Not included for neutrality. */

/* --- PRINT STYLES (BASICS) --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, main, .container { box-shadow: none !important; background: #fff !important; }
}
