/* CSS RESET & BASELINE -------------------- */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #F2EAD3;
  color: #2d2d2d;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #275856;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #506753;
  outline: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}

/* BRAND TYPOGRAPHY -------------------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #275856;
}
h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.17rem;
  font-weight: 500;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.lead {
  font-size: 1.15rem;
  color: #506753;
  font-weight: 500;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #344e41;
}
strong {
  color: #275856;
}

/* LAYOUT CONTAINER -------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(242,234,211,0.65);
  border-radius: 32px 16px 40px 20px;
  box-shadow: 0 2px 16px rgba(149,177,150,0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEXBOX PATTERNS -------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fffaf4;
  border-radius: 22px 36px 19px 16px;
  box-shadow: 0 4px 16px rgba(39,88,86,0.10);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 1 320px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(39,88,86,0.17);
}
.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;
  background: #f7f6ee;
  border-radius: 26px;
  box-shadow: 0 2px 8px rgba(39,88,86,0.07);
  margin: 24px 0 20px 0;
  min-width: 200px;
}
.testimonial-card p {
  flex: 1;
  color: #275856;
  font-size: 1.1rem;
}
.testimonial-card span {
  color: #7d9276;
  font-size: .97rem;
  font-style: italic;
  flex-shrink: 0;
  margin-left: 10px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 24px 0;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(149,177,150,0.10);
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.22s;
  gap: 12px;
}
.feature-grid > div img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 18px rgba(39,88,86,0.10);
  transform: translateY(-6px);
}
.benefit-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.benefit-icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 95px;
  background: #e2edd7;
  border-radius: 18px;
  box-shadow: 0 1px 4px rgba(39,88,86,.07);
  padding: 6px 8px 12px 8px;
  font-size: .98rem;
  color: #275856;
  font-weight: 500;
  text-align: center;
}
.benefit-icons img {
  width: 28px;
  margin-bottom: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.blog-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 8px 0 26px 0;
}
.blog-preview-list > div {
  flex: 1 1 280px;
  min-width: 220px;
  background: #fffaf4;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(149,177,150,0.10);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}
.blog-preview-list > div:hover {
  box-shadow: 0 8px 22px rgba(39,88,86,0.12);
}

.read-more-link {
  color: #95B196;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s;
}
.read-more-link:hover {
  color: #275856;
}

/* HEADER + NAVIGATION -------------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #e3dcc0;
  box-shadow: 0 1px 4px rgba(149,177,150,0.06);
  padding: 0;
  width: 100%;
  z-index: 50;
}
header > .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}
header img {
  max-height: 54px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 10px 7px 10px;
  border-radius: 14px;
  color: #275856;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #E2EDD7;
  color: #0e2322;
}
.btn-primary {
  display: inline-block;
  background: #275856;
  color: #F2EAD3;
  border-radius: 32px;
  font-size: 1.09rem;
  font-weight: 600;
  padding: 12px 32px;
  margin-left: 18px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 22px rgba(39,88,86,0.09);
  transition: background 0.22s, box-shadow 0.22s, color 0.17s, transform 0.18s;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: #95B196;
  color: #275856;
  box-shadow: 0 8px 30px rgba(39,88,86,0.19);
  transform: translateY(-2px) scale(1.04);
}
/* MOBILE BURGER MENU -------------------- */
.mobile-menu-toggle {
  display: none;
  background: #275856;
  color: #F2EAD3;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1099;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(39,88,86,0.17);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-toggle:active {
  background: #506753;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,88,86,0.97);
  box-shadow: 0 0 40px rgba(149,177,150, 0.23);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.62,.28,.23,1.06);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #F2EAD3;
  font-size: 2.2rem;
  border: none;
  margin: 22px 28px 0 0;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.13s;
}
.mobile-menu-close:hover {
  color: #e5ccb5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 40px 48px 0 40px;
  width: 80vw;
  max-width: 340px;
}
.mobile-nav a {
  color: #F2EAD3;
  font-size: 1.35rem;
  padding: 10px 0 9px 0;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  display: inline-block;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #3a6c4e;
  color: #e2edd7;
}

/* FOOTER -------------------- */
footer {
  background: #e2edd7;
  margin-top: 40px;
  border-top: 2.5px solid #95B196;
  padding: 0;
}
footer > .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 26px 20px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
footer nav a {
  color: #275856;
  font-size: .99rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 5px 0;
}
footer nav a:hover {
  color: #506753;
  background: none;
  text-decoration: underline;
}
.contact-info {
  font-size: .98rem;
  color: #61796f;
  font-style: normal;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-info img {
  max-width: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

/* BLOG FILTER DROPDOWN -------------------- */
.blog-filter {
  margin: 24px 0 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-filter label {
  color: #7d9276;
}
.blog-filter select {
  padding: 7px 16px 7px 8px;
  border-radius: 12px;
  border: 1px solid #e3dcc0;
  background: #fffaf4;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #275856;
  transition: border 0.15s;
  appearance: none;
}
.blog-filter select:focus {
  border-color: #95B196;
}

/* COOKIE CONSENT BANNER -------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: #fffaf4;
  border-top: 2.5px solid #95B196;
  box-shadow: 0 -4px 32px rgba(39,88,86,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 16px;
  font-size: 1rem;
  color: #344e41;
  animation: cookieSlideUp 0.35s ease;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1;
  min-width: 180px;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  background: #95B196;
  color: #fff;
  border-radius: 22px;
  border: none;
  padding: 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 4px;
  box-shadow: 0 2px 7px rgba(39,88,86,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.12s, transform 0.10s;
}
.cookie-btn.accept {
  background: #275856;
}
.cookie-btn.reject {
  background: #be3928;
  color: #fffaf4;
}
.cookie-btn.settings {
  background: #E2EDD7;
  color: #275856;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.08);
  transform: translateY(-2px) scale(1.02);
}

/* COOKIE MODAL -------------------- */
.cookie-modal {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,88,86,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: modalIn .19s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modalIn {
  0% { filter: blur(0.5rem); opacity: 0; }
  100% { filter: blur(0); opacity: 1; }
}
.cookie-modal-content {
  background: #fffaf4;
  border-radius: 32px;
  box-shadow: 0 8px 42px rgba(39,88,86,0.18);
  padding: 40px 28px 28px 28px;
  width: 95vw;
  max-width: 410px;
  color: #344e41;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #275856;
  font-size: 1.9rem;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #95B196;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e2edd7;
  border-radius: 16px;
  padding: 10px 16px;
  font-size: 1rem;
}
.cookie-category [type="checkbox"] {
  accent-color: #95B196;
  width: 22px;
  height: 22px;
}
.cookie-category.disabled label {
  opacity: 0.66;
  color: #a9a9a9;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #275856;
  margin-bottom: 10px;
}

/* ORGANIC VISUAL ELEMENTS -------------------- */
.section,
.card,
.feature-grid > div,
.benefit-icons > div,
.testimonial-card,
footer,
.cookie-modal-content
{
  border-radius: 32px 16px 40px 20px;
}

/* SPACING & WHITE SPACE -------------------- */
main {
  width: 100%;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
ul, ol {
  margin: 10px 0 24px 0;
  padding-left: 18px;
  line-height: 1.8;
}
li {
  margin-bottom: 6px;
}

/* BUTTONS AND INTERACTIONS -------------------- */
button, .btn-primary, .cookie-btn {
  outline: none;
  box-shadow: none;
  transition: background 0.18s, color 0.12s, box-shadow 0.13s, transform 0.13s;
}
button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2px solid #95B196;
}

/* FORMS -------------------- */
input, textarea, select {
  font-family: inherit;
  font-size: .99rem;
  border-radius: 14px;
  border: 1px solid #e3dcc0;
  background: #fffaf4;
  padding: 11px 18px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(39,88,86,0.06);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #95B196;
  outline: none;
}

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

/* Responsive design - mobile first -------------------- */
@media (max-width: 1080px) {
  footer > .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  header > .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .feature-grid, .blog-preview-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 22px;
  }
  .benefit-icons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header nav { display: none; }
  .btn-primary {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 10px;
  }
  section {
    padding: 24px 0;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 8px;
    border-radius: 22px 12px 18px 16px;
  }
  .feature-grid > div, .card {
    padding: 16px 10px;
    min-width: unset;
    border-radius: 14px 22px 14px 12px;
  }
  .benefit-icons {
    gap: 10px;
    font-size: .97rem;
  }
  .benefit-icons > div {
    border-radius: 12px;
    padding: 3px 2px 8px 3px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 8px;
    border-radius: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .blog-preview-list > div {
    padding: 14px 4px 12px 8px;
  }
  .feature-grid, .card-container {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.10rem; }
  h3 { font-size: 1.01rem; }
  p, li { font-size: .99rem; }
  header > .container {
    padding: 14px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: .99rem;
    padding: 14px 8px;
  }
  .cookie-banner-btns {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Hide mobile menu desktop */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* FOCUS STYLES -------------------- */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid #275856;
  outline-offset: 2px;
}

/* ANIMATIONS -------------------- */
.card, .feature-grid > div, .blog-preview-list > div {
  transition: box-shadow 0.24s cubic-bezier(.6,.4,.4,1), transform 0.21s;
}
.btn-primary, .cookie-btn {
  transition: background 0.19s cubic-bezier(.68,-0.55,.27,1.55), color 0.12s, box-shadow 0.14s, transform 0.13s;
}
.cookie-modal-content {
  animation: modalContentIn 0.17s cubic-bezier(.8,-0.42,.58,1.83);
}
@keyframes modalContentIn {
  0% { transform: scale(.93); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ORGANIC SHAPES (pseudo) -------------------- */
.section::before, .section::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.section::before {
  width: 80px; height: 80px;
  background: #e2edd7;
  border-radius: 48px 18px 62px 30px;
  opacity: 0.14;
  top: -30px; left: -26px;
  z-index: 1;
  display: none;
}
.section::after {
  width: 48px; height: 48px;
  background: #95B196;
  border-radius: 40px 14px 25px 35px;
  opacity: 0.10;
  bottom: -22px; right: -16px;
  z-index: 1;
  display: none;
}
@media (min-width: 769px) {
  .section::before, .section::after { display: block; }
}
/* Utility spacing classes if needed */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.gap-16 { gap: 16px; }

/* End of CSS */
