/*--------------------------------------------------------------
  CSS RESET & BASE TYPOGRAPHY (Normalize/Reset)
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}
body {
  min-height: 100vh;
  background-color: #F9F7F3;
  color: #2F3C27;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}
ul li {
  margin-bottom: 0.5em;
}
a {
  color: #36704a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F1C40F;
  outline: none;
}


/*--------------------------------------------------------------
  BRAND COLORS & ORGANIC STYLE
--------------------------------------------------------------*/
:root {
  --primary: #19324D;
  --secondary: #F1C40F;
  --accent: #FFFFFF;
  --green: #36704a;
  --light-green: #E9F7EF;
  --brown: #8C7158;
  --sand: #f9f6ef;
  --earth: #b7a19b;
  --shadow: 0 5px 16px 0 rgba(81,101,64,0.08), 0 1.5px 4px 0 rgba(136,114,76,0.06);
  --radius: 20px;
}

/*--------------------------------------------------------------
  TYPOGRAPHY
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
.subheadline {
  color: var(--green);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 16px;
}
small {
  font-size: 0.93em;
  color: var(--earth);
}
.text-section {
  margin-bottom: 24px;
}
blockquote {
  font-style: italic;
  color: var(--primary);
  background: var(--light-green);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 28px 18px 20px;
  margin-bottom: 12px;
  line-height: 1.6;
}

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

/*===============================================================
  FLEXBOX MANDATORY PATTERNS:
===============================================================*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.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: #fffefc;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px 0 rgba(81,101,64,0.14);
  margin-bottom: 24px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Utility for organic shape effect */
.organic {
  border-radius: 48% 52% 44% 56%/52% 47% 53% 48%;
}

/*--------------------------------------------------------------
  HEADER & NAVIGATION
--------------------------------------------------------------*/
header {
  background: var(--sand);
  box-shadow: 0 2px 14px 0 rgba(136,114,76,0.05);
  padding-top: 14px;
  padding-bottom: 14px;
  width: 100%;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 13px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--light-green);
  color: var(--green);
}
.cta-primary {
  display: inline-block;
  padding: 13px 32px 13px 32px;
  background: var(--green);
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 32px 29px 36px 24px/24px 36px 32px 29px;
  box-shadow: 0 8px 24px 0 rgba(53,83,61,0.09);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 12px 32px 0 rgba(116,155,97,0.14);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  background: var(--green);
  color: var(--accent);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
  margin-left: 10px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}

/*--------------------------------------------------------------
  MOBILE MENU OVERLAY
--------------------------------------------------------------*/
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #F9F6EF;
  z-index: 1002;
  transform: translateX(-100vw);
  transition: transform 0.44s cubic-bezier(.81,-0.09,.47,.96);
  box-shadow: 0 4px 40px 0 rgba(110,139,94,0.10);
  display: flex;
  flex-direction: column;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: var(--brown);
  color: var(--accent);
  border: none;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  border-radius: 50%;
  align-self: flex-end;
  margin: 20px 22px 12px 0;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--green);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 36px 18px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  padding: 13px 0;
  width: 100%;
  border-bottom: 1px solid var(--earth);
  background: transparent;
  border-radius: 0px;
  transition: background 0.18s, color 0.18s;
  min-width: 140px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--light-green);
  color: var(--green);
}

/*--------------------------------------------------------------
  MAIN FEATURE + FEATURE-CARDS
--------------------------------------------------------------*/
.feature-grid,
.feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.feature-card {
  flex: 1 1 225px;
  min-width: 220px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.15s, box-shadow 0.2s;
  margin-bottom: 20px;
  border: 1.5px solid var(--sand);
  position: relative;
  z-index: 1;
}
.feature-card:hover,
.feature-card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(81,101,64,0.17);
  transform: translateY(-4px) scale(1.015) rotate(-1.2deg);
}
.feature-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  border-radius: 20px 22px 18px 27px/25px 18px 27px 22px;
  background: var(--light-green);
  object-fit: contain;
}

/* Cards in general (for .card, .feature-card, etc.) */
.card,
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/*--------------------------------------------------------------
  ORGANIC BUTTON STYLE
--------------------------------------------------------------*/
button:not(.mobile-menu-toggle):not(.mobile-menu-close),
input[type="submit"] {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--accent);
  background: var(--green);
  border: none;
  padding: 13px 36px;
  border-radius: 34px 22px 40px 23px/24px 32px 27px 36px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 18px 0 rgba(53,83,61,0.08);
  margin-right: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.02) rotate(-1deg);
  box-shadow: 0 14px 28px 0 rgba(81,101,64,0.12);
}

/*--------------------------------------------------------------
  ORGANIC LIST STYLE
--------------------------------------------------------------*/
ul {
  list-style: disc inside;
  color: var(--brown);
  font-size: 1.08rem;
  padding-left: 0.75em;
  margin-bottom: 1em;
}
ul li {
  margin-bottom: 0.5em;
  padding-left: 0.4em;
}

/*--------------------------------------------------------------
  TESTIMONIALS
--------------------------------------------------------------*/
.testimonial-card {
  background: #F5FAF6;
  color: #183019;
  font-size: 1.065rem;
  border: 1.3px solid var(--light-green);
}
.testimonial-meta {
  color: var(--green);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  margin-left: 8px;
}

/*--------------------------------------------------------------
  FOOTER
--------------------------------------------------------------*/
footer {
  background: var(--primary);
  color: var(--accent);
  padding-top: 38px;
  padding-bottom: 20px;
  box-shadow: 0 -2px 28px 0 rgba(53,83,61,0.13);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.footer-brand img {
  width: 60px;
  margin-bottom: 8px;
}
.footer-brand p {
  color: var(--earth);
  line-height: 1.4;
  font-size: 0.98em;
}
.footer-menu,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: var(--accent);
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  margin-bottom: 3px;
  transition: color 0.14s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact {
  color: var(--sand);
}
.footer-contact p {
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 18px;
}
.footer-social {
  flex-direction: row;
  gap: 16px;
  margin-top: 6px;
}
.footer-social a img {
  width: 28px;
}
.footer-copy {
  text-align: left;
  color: var(--earth);
  font-size: 0.9em;
  padding-top: 10px;
}

/*--------------------------------------------------------------
  RESPONSIVE DESIGN (MOBILE-FIRST)
--------------------------------------------------------------*/
@media (max-width: 1024px) {
  .footer-grid, .feature-grid {
    flex-direction: column;
    gap: 28px;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .footer-grid {
    flex-direction: column;
    gap: 14px;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 28px 5vw;
    margin-bottom: 20px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
    padding: 14px 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.08rem; }
  .feature-card {
    padding: 18px 11px 18px 11px;
    min-width: unset;
  }
}

/*--------------------------------------------------------------
  COOKIE CONSENT BANNER & MODAL
--------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--brown);
  color: var(--accent);
  z-index: 1100;
  box-shadow: 0 -4px 30px 0 rgba(81,101,64,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px 18px 24px;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.57,.79,.47,1.12);
  border-radius: 24px 24px 0 0/28px 28px 0 0;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-message {
  flex: 1 1 350px;
}
.cookie-banner-actions {
  display: flex;
  gap: 13px;
  flex-shrink: 0;
  flex-direction: row;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .accept-btn,
.cookie-banner .reject-btn {
  min-width: 115px;
  padding: 10px 20px;
  font-weight: 600;
  background: var(--green);
  color: var(--accent);
  border-radius: 32px 24px 31px 27px/24px 32px 25px 30px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.05) rotate(-1.5deg);
}
.cookie-banner .settings-btn {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 500;
  border: none;
}
.cookie-banner .settings-btn:hover {
  background: var(--green);
  color: var(--accent);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 51, 38, 0.33);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: cookie-modal-fadein 0.27s cubic-bezier(.8,.02,.51,.86);
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 30px 26px 30px 38px/38px 38px 26px 30px;
  min-width: 340px;
  max-width: 95vw;
  box-shadow: 0 8px 40px 0 rgba(44,51,38,0.14);
  padding: 36px 30px 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: var(--brown);
  color: var(--accent);
  font-size: 1.5em;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(81,101,64,0.09);
  transition: color 0.16s, background 0.16s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--green);
}
.cookie-modal h3 {
  color: var(--green);
  margin-bottom: 11px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-category .essential-label {
  color: var(--primary);
  opacity: 0.65;
}
input[type="checkbox"].cookie-toggle {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
}
@media (max-width: 600px) {
  .cookie-modal {
    min-width: 210px;
    padding: 18px 10px 18px 13px;
  }
}

/*--------------------------------------------------------------
  ORGANIC DECORATIVE SHAPES (OPTIONAL - For accents if added)
--------------------------------------------------------------*/
.organic-shape {
  background: var(--light-green);
  border-radius: 43% 57% 60% 40%/41% 59% 41% 59%;
  position: absolute;
  z-index: 0;
  opacity: 0.08;
}

/*--------------------------------------------------------------
  ADDITIONAL WHITE SPACE & SPACING
--------------------------------------------------------------*/
main {
  flex: 1 1 100%;
  min-width: 0;
  margin-bottom: 36px;
}

.section:not(:last-child) {
  margin-bottom: 60px;
}
.feature-card:not(:last-child),
.card:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
  ORGANIC FORM ELEMENTS (for future use: inputs)
--------------------------------------------------------------*/
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 22px 19px 24px 19px/18px 21px 22px 17px;
  border: 1.3px solid var(--light-green);
  padding: 10px 15px;
  margin-bottom: 12px;
  background: #F9F7F2;
  color: var(--primary);
  transition: border 0.17s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--green);
  box-shadow: 0 3px 11px 0 rgba(116,155,97,0.13);
}

/*--------------------------------------------------------------
  MISC + A11Y
--------------------------------------------------------------*/
a:focus, .cta-primary:focus, button:focus, input:focus, .mobile-menu-close:focus { outline: 2px solid var(--secondary); outline-offset: 2px; }
::selection {
  background: var(--light-green);
}

/*--------------------------------------------------------------
  END OF STYLE.CSS
--------------------------------------------------------------*/
