/* CSS RESET & BASE ---------------------------- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #F4F7FA;
  color: #2C3B2D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  border: none;
  outline: none;
  background: none;
}

/* COLOR VARIABLES ---------------------------- */
:root {
  --color-primary: #0D3A5D;
  --color-bg: #F4F7FA;
  --color-accent: #B64700;
  --color-accent-light: #f5dcbb;
  --color-earth: #768C6A;
  --color-leaf: #3A7532;
  --color-bark: #A87B57;
  --color-text: #2C3B2D;
  --color-white: #FFF;
  --color-gray: #E5EAE1;
  --color-shadow: 0 4px 20px rgba(50,70,60,0.16);
}

/* TYPOGRAPHY ---------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; color: var(--color-leaf); }
h4 { font-size: 1.1rem; }
p, li, ul, ol {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 12px;
}
strong { font-weight: 600; color: var(--color-bark); }
.headline {
  font-size: 1.25rem;
  color: var(--color-leaf);
  margin-bottom: 10px;
  font-weight: 600;
}
.subheadline {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 28px;
  font-weight: 400;
}

/* LAYOUT: CONTAINER & SECTION ---------------------------- */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 28px 24px 36px 22px/20px 46px 18px 30px;
  box-shadow: var(--color-shadow);
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}

/* ORGANIC SHAPES DECOR (SVG in HTML preferred for illustration only) */

/* HEADER & NAVIGATION ---------------------------- */
header {
  background: var(--color-white);
  box-shadow: 0 2px 14px rgba(60,80,65,.09);
  padding: 16px 0 10px 0;
  position: relative;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 18px;
  transition: background .2s, color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.cta-primary {
  display: inline-block;
  background: var(--color-leaf);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 48px;
  box-shadow: 0 4px 18px rgba(58,117,50,.11);
  transition: background .18s, transform .13s;
  letter-spacing: .01em;
  border: 2px solid var(--color-leaf);
  margin-left: 18px;
  cursor: pointer;
  text-align: center;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px rgba(182,71,0, .13);
}

/* MOBILE NAV MENU ---------------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--color-leaf);
  border: none;
  outline: none;
  cursor: pointer;
  transition: color .2s;
  z-index: 502;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--color-accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 32px 0 rgba(25,45,16, 0.18);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.65,.05,.36,1);
  z-index: 510;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 28px 12px 0;
  font-size: 2rem;
  background: none;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  outline: none;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-leaf);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  margin: 0 32px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: var(--color-primary);
  background: var(--color-bg);
  border-radius: 22px;
  padding: 16px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .18s, color .2s;
  text-align: left;
  margin-bottom: 2px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* SHOW/HIDE NAV BASED ON SCREEN -------------------------- */
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* PAGE CONTENT FLEX LAYOUTS ---------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--color-white);
  padding: 32px 22px 28px 22px;
  border-radius: 20px 32px 20px 26px/26px 22px 30px 18px;
  box-shadow: 0 2px 14px rgba(118,140,106,.13);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2px solid var(--color-gray);
  transition: box-shadow 0.18s, border-color 0.18s, transform .11s;
}
.feature:hover,
.feature:focus-within {
  border-color: var(--color-leaf);
  box-shadow: 0 10px 36px rgba(58,117,50, .09);
  transform: translateY(-2px) scale(1.02);
}
.feature img {
  width: 46px; height: 46px; margin-bottom: 7px;
}

.service-cards, .blog-snippets, .post-grid, .success-stories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-card, .blog-post-preview, .faq-item {
  flex: 1 1 250px;
  min-width: 250px;
  background: var(--color-white);
  border-radius: 24px 38px 16px 26px/24px 16px 24px 30px;
  box-shadow: 0 2px 12px rgba(58,117,50,.09);
  padding: 30px 22px 26px 22px;
  border: 2px solid var(--color-gray);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  transition: box-shadow .16s, border-color .16s, transform .11s;
}
.service-card:hover,
.blog-post-preview:hover,
.faq-item:hover {
  border-color: var(--color-leaf);
  box-shadow: 0 6px 22px rgba(58,117,50,.13);
  transform: translateY(-2px) scale(1.015);
}
.service-card .price {
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.16rem;
  margin-top: 8px;
}

.testimonial-slider, .success-stories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 22px 28px;
  background: #ECEFE8;
  border-radius: 28px 18px 34px 30px/34px 28px 20px 24px;
  box-shadow: 0 3px 22px rgba(76,115,82, 0.12);
  margin-bottom: 20px;
  border: 2px solid var(--color-earth);
  min-width: 250px;
  max-width: 400px;
  flex: 1 1 270px;
  font-size: 1.04rem;
  color: var(--color-text);
  transition: box-shadow .17s, border-color .16s, transform .11s;
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--color-leaf);
  box-shadow: 0 8px 36px rgba(58,117,50,.14);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card p {
  color: #23381a;
  font-size: 1.07rem;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1.02rem;
  font-weight: 700;
  margin-top:5px;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-item {
  flex: 1 1 270px;
  min-width: 270px;
}

.newsletter-signup {
  background: linear-gradient(0deg, #EBF8E1 85%, #FDFBE8 100%);
  border-radius: 30px 20px 40px 24px/40px 22px 34px 27px;
  box-shadow: 0 2px 16px rgba(100,172,90,.08);
  padding: 34px 28px 30px 28px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}
.category-filters a {
  background: var(--color-accent-light);
  color: var(--color-bark);
  padding: 7px 18px;
  border-radius: 16px;
  font-size: .97rem;
  font-weight: 600;
  margin-right: 2px;
  transition: background .15s, color .15s;
}
.category-filters a:hover {
  background: var(--color-accent);
  color: #fff;
}
.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .95rem;
  margin-bottom: 12px;
  align-items: center;
  color: var(--color-leaf);
}
.popular-tags span:not(:first-child) {
  background: #F9ECE0;
  color: var(--color-accent);
  padding: 6px 14px;
  border-radius: 15px;
  font-weight: 400;
}

.service-list {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.service-list li { color: var(--color-text); }
.service-list span { color: var(--color-accent); font-weight: bold; margin-left: 8px; }

.impact-statements ul {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0;
  padding-left: 0;
}
.impact-statements li {
  margin-bottom: 7px;
  font-size: 1.05rem;
  color: var(--color-leaf);
  font-weight: 600;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(46,82,26, .07);
  background: #fff;
  padding: 28px 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FOOTER ---------------------------- */
footer {
  background: #F7F9FA;
  padding: 30px 0 24px 0;
  border-top: 2px solid var(--color-earth);
  color: var(--color-primary);
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .99rem;
  margin-bottom: 0;
}
.footer-nav a {
  color: var(--color-leaf);
  padding: 7px 12px;
  border-radius: 14px;
  transition: background .17s, color .14s;
}
.footer-nav a:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.contact-short {
  color: var(--color-primary);
  font-size: .98rem;
  line-height: 1.5;
}
.contact-short a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* BUTTONS & MICRO-INTERACTIONS ---------------------------- */
button,
.cta-primary,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
  transition: background .19s, box-shadow .14s, border-color .13s, color .16s, transform .11s;
}
button:active,
.cta-primary:active {
  transform: scale(.97);
}

/* ORGANIC DETAILS & NATURAL TEXTURES -------------- */
section, .feature, .service-card, .testimonial-card, .blog-post-preview, .newsletter-signup, .card {
  background-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="56" xmlns="http://www.w3.org/2000/svg"><ellipse fill="%23EBF8E1" opacity=".26" cx="54" cy="32" rx="44" ry="14"/></svg>');
  background-repeat: repeat-x;
  background-position: bottom right;
}

/* RESPONSIVENESS ---------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  .feature-grid, .service-cards, .blog-snippets, .post-grid, .success-stories-grid, .testimonial-slider, .faq-list {
    gap: 18px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.67rem; }
  .container { max-width: none; }
  .feature, .service-card, .blog-post-preview, .testimonial-card, .faq-item {
    min-width: 95vw;
    flex: 1 1 95vw;
    max-width: 100vw;
  }
  section { padding: 26px 7.5vw; }
  .feature-grid, .service-cards, .blog-snippets, .post-grid, .success-stories-grid, .testimonial-slider, .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
  }
  .newsletter-signup { padding: 22px 10vw 18px 10vw; }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.24rem;
    margin-bottom: 16px;
    text-align: center;
  }
  h2 { font-size: 1.01rem; }
  section, .newsletter-signup {
    padding: 12px 5vw;
  }
}

/* SCROLLBAR STYLING (for organic/nature look) */
::-webkit-scrollbar { width: 10px; background: #e6ecdf; }
::-webkit-scrollbar-thumb {
  background: var(--color-leaf);
  border-radius: 6px;
  border: 2px solid var(--color-bg);
}

/* COOKIE CONSENT BANNER & MODAL ---------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #E2E7DA;
  color: var(--color-text);
  padding: 22px 16px 18px 16px;
  box-shadow: 0 -2px 18px rgba(34,75,34,.18);
  z-index: 7000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
  border-radius: 36px 36px 0 0/26px 26px 0 0;
  font-size: 1rem;
  animation: cookie-banner-slide-in .7s cubic-bezier(.13,.87,.5,1.04) 1;
}
@keyframes cookie-banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  border-radius: 33px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: .98rem;
  padding: 9px 22px;
  background: var(--color-leaf);
  color: #fff;
  border: none;
  box-shadow: 0 2px 7px rgba(44,100,50,.13);
  transition: background .17s, color .13s, transform .11s;
}
.cookie-settings-btn {
  background: var(--color-accent-light);
  color: var(--color-bark);
  border: 2px solid var(--color-bark);
  margin-left: 3px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent);
  color: #fff;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* Cookie Modal (Settings) */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(76,90,60,.18);
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in .34s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #F2F8E2;
  max-width: 420px;
  width: 94vw;
  border-radius: 36px;
  box-shadow: 0 6px 32px #77974D22;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-fade-in .4s cubic-bezier(.24,.81,.65,1.01) 1;
}
@keyframes modal-fade-in {
  from { transform: translateY(30px) scale(.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  font-size: 1.8rem;
  position: absolute;
  top: 11px;
  right: 20px;
  background: none;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  transition: color .16s;
  z-index: 2;
}
.cookie-modal-close:hover {
  color: var(--color-leaf);
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 500;
  color: var(--color-bark);
}
.cookie-toggle {
  min-width: 42px; height: 24px;
  background: #D6E2C9;
  border-radius: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  left: 2px; top: 2px; bottom: 2px;
  width: 20px; height: 20px;
  background: var(--color-leaf);
  border-radius: 50%;
  transition: left .24s cubic-bezier(.56,.04,.58,1);
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-slider {
  left: 18px;
  background: var(--color-accent);
}

/* MODAL Categories: Descriptions Style */
.cookie-desc {
  font-size: .98rem;
  color: var(--color-text);
  margin-left: 5px;
  opacity: .85;
}
.cookie-category[aria-disabled="true"] label {
  color: #868a7f;
  opacity: .74;
}

/* ACCESSIBILITY FOCUS VISIBLE STATES ---------------------- */
a, button, .cta-primary, .cookie-btn, .cookie-settings-btn, .mobile-menu-close {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-primary:focus-visible,
.cookie-btn:focus-visible, .cookie-settings-btn:focus-visible, .mobile-menu-close:focus-visible {
  box-shadow: 0 0 0 2px var(--color-leaf), 0 0 0 5px var(--color-accent-light);
  z-index: 15;
}

/* OTHER UTILITY CLASSES ---------------------------- */
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-3 { margin-top: 16px; }
.mb-3 { margin-bottom: 16px; }
.text-center { text-align: center; }

/************************************************************
END OF NATURE_ORGANIC BRAND CSS FOR FINVEXOLI
************************************************************/
