/* --- 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, 
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F4F2ED;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}

/* --- CUSTOM PROPERTIES (FALLBACKS) --- */
:root {
  --color-primary: #113267;
  --color-secondary: #06B1C2;
  --color-accent: #F6F7F8;
  --color-earth1: #5C6E52;
  --color-earth2: #CDB98C;
  --color-earth3: #C1D8B5;
  --color-earth4: #4B543B;
  --color-green: #76B947;
  --color-brown: #8A6B48;
  --color-white: #FFFFFF;
  --color-text: #29271A;
  --color-bg: #F4F2ED;

  --font-display: 'IBM Plex Sans', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-md: 0 4px 20px 0 rgba(60, 75, 55, 0.08);
  --shadow-lg: 0 8px 32px 0 rgba(60, 75, 55, 0.13);
  --shadow-card: 0 2px 10px 0 rgba(60, 75, 55, 0.10);
  --transition: 0.25s cubic-bezier(.4,1,.4,1);
}

/* --- TYPOGRAPHY --- */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 16px;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-earth4);
  line-height: 1.12;
}
h1 { font-size: 2.4rem; margin-bottom: 16px; }
h2 { font-size: 1.8rem; margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 6px;
}
strong { color: var(--color-earth1); }

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.45rem; }
}

/* --- GENERAL LAYOUT --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 32px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1.7px solid #E5E3DA;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.01);
}

.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: 18px;
    align-items: flex-start;
  }
}

.feature-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-grid > div, .features > div, .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px 18px 20px 18px;
  min-width: 220px;
  transition: background var(--transition), box-shadow var(--transition);
}
.feature-grid > div:hover, .features > div:hover {
  background: #f0f7eb;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .feature-grid, .features {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .features > div {
    min-width: 0;
    width: 100%;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding: 48px 0 54px 0;
  background: linear-gradient(100deg, #CFD3C4 50%, #F4F2ED 85%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 42px;
  box-shadow: 0 2px 24px 0 rgba(161, 177, 132, 0.06);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: var(--color-primary);
  letter-spacing: -2px;
}
.hero p {
  font-size: 1.18rem;
  color: var(--color-earth4);
  margin-bottom: 0;
}
.hero .cta-primary {
  margin-top: 8px;
}

@media (max-width: 700px) {
  .hero {
    padding: 30px 0 28px 0;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: #fffbe9;
  color: #2d2a19;
  box-shadow: 0 2px 12px 0 rgba(120,107,74,0.13);
  border: 1.5px solid #EEDDCC;
  margin-bottom: 18px;
  transition: box-shadow var(--transition), background var(--transition);
}
.testimonial-card p {
  color: #4B543B;
  font-size: 1.02rem;
  margin-bottom: 3px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-earth1);
  font-weight: 600;
}
.testimonial-card:hover {
  background: #f3f0e3;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* --- BUTTONS & CTAS --- */
.cta-primary {
  display: inline-block;
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 34px;
  border-radius: 26px 24px 32px 18px;
  box-shadow: var(--shadow-card);
  border: none;
  letter-spacing: 1px;
  margin-top: 14px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #90c67a;
  box-shadow: var(--shadow-lg);
  transform: scale(1.04) translateY(-2px);
  color: var(--color-earth4);
}
a.cta-primary {
  text-align: center;
}

button, input[type="button"], input[type="submit"] {
  font-family: var(--font-body);
  cursor: pointer;
  font-size: 1rem;
  border: none;
  background: none;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-white);
  box-shadow: 0 1px 12px 0 rgba(100,120,85,0.06);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 18px 16px 18px;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--color-primary);
  opacity: 0.88;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
  padding: 6px 14px;
}
header nav a:hover, header nav a:focus {
  background: #e3efd9;
  color: var(--color-green);
  opacity: 1;
}
header .cta-primary {
  margin: 0 0 0 12px;
  padding: 10px 26px;
  font-size: 1rem;
}

@media (max-width: 900px) {
  header nav {
    gap: 10px;
  }
  header .cta-primary {
    padding: 9px 18px;
    font-size: 0.99rem;
  }
}

@media (max-width: 700px) {
  header .container {
    flex-direction: row;
    gap: 4px;
    padding: 12px 8px 10px 8px;
  }
  header nav {
    display: none;
  }
  header .cta-primary {
    display: none;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 101;
  background: var(--color-green);
  color: var(--color-white);
  width: 49px;
  height: 49px;
  border-radius: 50%;
  font-size: 2.2rem;
  border: none;
  box-shadow: 0 2px 18px #b3cca3ad;
  transition: background var(--transition), color var(--transition);
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #aee89c;
  color: var(--color-earth4);
}
@media (max-width: 700px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 200;
  background: #F6F7F8;
  box-shadow: 0 0 100px 40px #AFBC95cc;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.44,1.4,.49,1), background 0.20s;
  padding-top: 46px;
  overflow: auto;
}
.mobile-menu.open {
  transform: translateX(0px);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 26px;
  background: var(--color-green);
  width: 46px;
  height: 46px;
  border-radius: 100%;
  color: var(--color-white);
  font-size: 2rem;
  border: none;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px #b3cca3ad;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7bc04c;
  color: var(--color-earth1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 50px;
  padding-left: 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 9px 8px 9px 3px;
  border-radius: 9px;
  width: fit-content;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e3efd9;
  color: var(--color-green);
}

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


/* --- MAIN CONTENT --- */
main {
  min-height: 60vh;
  margin-top: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-md);
}
@media (max-width: 900px) {
  section {
    margin-bottom: 34px;
    padding: 24px 8px;
  }
}

/* --- CARDS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}

/* --- FOOTER --- */
footer {
  background: #e4eee2;
  color: var(--color-earth4);
  padding: 0 0 28px 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 -2px 20px 0 rgba(72,83,54,0.08);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  padding: 36px 16px 0 16px;
  flex-wrap: wrap;
}
footer a img {
  width: 58px;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--color-primary);
  font-size: 1rem;
  opacity: 0.9;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background var(--transition);
}
footer nav a:hover, footer nav a:focus {
  background: #deebd7;
  color: var(--color-green);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #4B543B;
  font-size: 0.96rem;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding: 20px 6px 0 6px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
}

/* --- LISTS & LINKS --- */
ul, ol {
  margin: 0 0 12px 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  color: var(--color-earth4);
}
a {
  transition: color var(--transition), background var(--transition);
}
a:active {
  color: var(--color-secondary);
}

/* --- FORMS (if shown later) --- */
input, textarea, select {
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1.5px solid #C1D8B5;
  padding: 8px 10px;
  background: #f7f6f2;
  color: var(--color-earth4);
  font-size: 1rem;
  outline: none;
  margin-bottom: 14px;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 2px #d3efc2;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3000;
  width: 100%;
  background: #ffffffcc;
  box-shadow: 0 -4px 44px 0 #bbbb87a6;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 6vw 18px 6vw;
  border-radius: 24px 24px 0 0;
  font-size: 1rem;
  animation: slideInBanner 0.77s cubic-bezier(.62,1.8,.55,1) 1;
}
@media (max-width: 800px) {
  .cookie-banner {
    padding: 14px 2vw 12px 2vw;
    flex-direction: column;
    gap: 14px;
    font-size: 0.97rem;
    align-items: flex-start;
  }
}
@keyframes slideInBanner {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 9px 26px;
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow-card);
  margin-right: 0;
  outline: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner .accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #aee89c;
  color: #385020;
}
.cookie-banner .reject {
  background: #C1D8B5;
  color: var(--color-earth4);
}
.cookie-banner .reject:hover {
  background: #9ebc92;
}
.cookie-banner .settings {
  background: var(--color-earth2);
  color: var(--color-earth4);
}
.cookie-banner .settings:hover {
  background: var(--color-earth1);
  color: #fff;
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3300;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(156, 153, 124, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.34s;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffbea;
  border-radius: var(--radius-lg);
  padding: 40px 30px 28px 26px;
  width: 95vw; max-width: 450px;
  box-shadow: 0 8px 40px #b3bc83ce;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalAppear 0.25s cubic-bezier(.32,1.7,.52,1.11);
}
@keyframes modalAppear {
  from { opacity: 0; transform: scale(0.89) translateY(8vh); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  color: var(--color-earth4);
  font-size: 1.27rem;
  margin-bottom: 2px;
}
.cookie-modal .cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid #e5decc;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category .toggle {
  width: 40px; height: 22px;
  background: #cce4bb;
  border-radius: 16px;
  position: relative;
  transition: background var(--transition);
}
.cookie-category .toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  margin: 0;
  z-index: 2;
  cursor: pointer;
}
.cookie-category .toggle .slider {
  position: absolute;
  left: 3px; top: 3px;
  height: 16px; width: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #b9ca97bb;
  transition: left var(--transition), background 0.16s;
}
.cookie-category .toggle input:checked + .slider {
  left: 21px;
  background: #68b24a;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 10px 24px;
  border-radius: 18px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .settings-save {
  background: var(--color-green);
  color: #fff;
}
.cookie-modal .settings-save:hover {
  background: #86E08B;
  color: #385020;
}
.cookie-modal .settings-cancel {
  background: #f7f1e7;
  color: var(--color-earth4);
}
.cookie-modal .settings-cancel:hover {
  background: var(--color-earth2);
}
.cookie-modal-close-btn {
  position: absolute;
  right: 18px;
  top: 12px;
  color: var(--color-earth4);
  background: none;
  border: none;
  font-size: 1.6rem;
  padding: 2px 7px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal-close-btn:hover, .cookie-modal-close-btn:focus {
  background: #f7eee2;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  .hero, section, .section {
    padding: 19px 3px !important;
  }
}

/* --- ORGANIC/NATURE DECORATIVE EFFECTS --- */
.hero, section, .card, .feature-grid > div, .testimonial-card {
  border-radius: 32px 21px 36px 18px;
  /* Imply organic shapes with asymmetric radii. */
}
.card, .feature-grid > div, .testimonial-card {
  border: 1.5px solid #e7dcc1;
  background: linear-gradient(100deg, #F6F7F8 80%, #f7f6ed 100%);
}

/* --- MICROINTERACTIONS --- */
.cta-primary, .cookie-banner button, .feature-grid > div, .testimonial-card, .card {
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition), color var(--transition);
}
.card:hover, .feature-grid>div:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.017);
}

/* --- COLOR ADJUSTMENTS & NATURAL DETAILS --- */
.feature-grid > div {
  border-left: 5px solid var(--color-green);
  background: #F8FBF3;
}
.feature-grid > div:nth-child(2n) {
  border-left: 5px solid var(--color-brown);
  background: #FFF9F3;
}

/* --- ACCESSIBILITY: CONTRAST IN TESTIMONIALS --- */
.testimonial-card {
  background: #fffff8;
  color: #262412;
}
.testimonial-card p, .testimonial-card span {
  color: #262412;
}

/* --- MISC ORGANIC SHAPES (EXTRA DECORATIONS IF DESIRED) --- */
/* This is recommendable to implement with SVG backgrounds if needed. */

/* --- END --- */
