/* ----------- 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 {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F4F6F9;
  color: #2B3849;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: #2B3849;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #659370;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button, input, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* ----------- BRAND COLOR PALETTE (Nature Organic) ----------- */
:root {
  --color-primary: #2B3849;  /* deep earth tone for text/header */
  --color-secondary: #F4F6F9; /* background/cards */
  --color-accent: #C3A57C;   /* main accent (sandy brown) */
  --color-green: #659370;    /* organic green */
  --color-dark-green: #39583D; /* dark accent for button hover */
  --color-bg: #F7F5EF;       /* soft natural background (warm) */
  --color-shadow: rgba(77, 87, 53, 0.08);
  --color-border: #E0DBCE;
}

/* Typography (Brand) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
section h2 {
  margin-bottom: 20px;
}
p, .text-section, li, a {
  font-family: 'Roboto', Arial, sans-serif;
}
p, .text-section {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #3A473D;
}
.text-section strong,
strong {
  color: #2B3849;
  font-weight: 700;
}

/* ---- Container and Section Layouts ---- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 32px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ----- HERO SECTION ----- */
.hero {
  background: linear-gradient(120deg, #E9ECD6 48%, #F7F5EF 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 6px 32px var(--color-shadow);
  margin-bottom: 60px;
  padding-bottom: 28px;
  padding-top: 42px;
}
.hero h1 {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.hero p {
  max-width: 600px;
  font-size: 1.15rem;
  color: #39583D;
  margin-bottom: 20px;
}
.hero .cta-btn {
  margin-top: 8px;
}

/* ---- Main Navigation Styles ---- */
header {
  background: var(--color-secondary);
  position: relative;
  z-index: 40;
  box-shadow: 0 4px 16px -8px var(--color-shadow);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
  padding: 0 20px;
}
.logo img {
  height: 46px;
  width: auto;
  border-radius: 16px;
  filter: drop-shadow(0 1px 6px #dbe8d5);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 0;
  border-radius: 9px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:not(.cta-btn):hover,
.main-nav a:focus {
  background: #E3F3E0;
  color: var(--color-green);
}
.main-nav .cta-btn {
  margin-left: 12px;
  padding: 8px 26px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 28px;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  transition: background 0.19s, box-shadow 0.19s, color 0.13s;
  border: none;
}
.main-nav .cta-btn:hover,
.main-nav .cta-btn:focus {
  background: var(--color-green);
  color: #fff;
}

/* ---- Burger Button ---- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.65rem;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 10px;
  transition: background 0.2s;
  z-index: 103;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: #fff;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f7f5efee;
  z-index: 110;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.7,0.1,0.2,1.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 32px;
  background: none;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ddd8c699;
  color: var(--color-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.13rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  padding: 12px 0 12px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-green);
  color: #fff;
}

/* Hide main nav on mobile */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---- FLEX LAYOUTS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-secondary);
  border-radius: 24px;
  box-shadow: 0 2px 16px -6px var(--color-shadow);
  overflow: hidden;
  min-width: 240px;
  max-width: 360px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 4px 28px 0 var(--color-shadow);
  transform: translateY(-2px) scale(1.016);
}
.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;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  border-radius: 22px;
  margin-bottom: 20px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 2px var(--color-shadow);
  transform: scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- LISTS AND FEATURES ---- */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 0;
  align-items: stretch;
}
.features ul li {
  background: #F7F5EF;
  border-radius: 20px;
  box-shadow: 0 2px 11px 0 var(--color-shadow);
  padding: 28px 22px 18px 22px;
  margin-bottom: 24px;
  margin-right: 0;
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.3px solid var(--color-border);
  transition: box-shadow 0.14s, background 0.14s;
}
.features ul li:hover {
  background: #eaf3e7;
  box-shadow: 0 5px 24px 3px var(--color-shadow);
}
.features ul li img {
  height: 38px;
  width: auto;
  border-radius: 6px;
  background: #DFE9E1;
  padding: 5px 7px;
  flex-shrink: 0;
}

/* ---- SERVICES ---- */
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.services ul li {
  background: #ECE6D9;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  padding: 18px 16px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 360px;
  margin-bottom: 24px;
  color: var(--color-primary);
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.services ul li strong {
  font-size: 1.11rem;
  color: var(--color-green);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
.services ul li span {
  color: #607733;
}
.services .cta-btn {
  margin-top: 22px;
}

/* ---- CTAs, Buttons, and Links ---- */
.cta-btn,
button.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: var(--color-green);
  color: #fff;
  font-weight: 700;
  border-radius: 40px;
  padding: 12px 36px;
  font-size: 1.03rem;
  border: none;
  margin-top: 3px;
  margin-bottom: 3px;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  transition: background 0.2s, color 0.13s, box-shadow 0.14s, transform 0.13s;
  letter-spacing: 0.04em;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 30px 0 var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
}

/* ---- Text Section ---- */
.text-section {
  font-size: 1rem;
  color: #3A473D;
  margin-bottom: 10px;
}
.text-section img {
  height: 20px;
  width: auto;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: 3px;
}
.text-section a {
  color: var(--color-green);
  font-weight: 500;
  text-decoration: underline dotted rgba(101,147,112,0.17);
  transition: color 0.2s;
}
.text-section a:hover,
.text-section a:focus {
  color: var(--color-accent);
  text-decoration: underline solid var(--color-accent);
}

/* ---- Contact Section & Footer ---- */
footer {
  background: #ECEAD7;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 16px 0 var(--color-shadow);
  margin-top: 60px;
  padding-top: 36px;
  padding-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
  font-size: 1rem;
}
.footer-nav a {
  color: #5d713c;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #C3A57C;
  color: #fff;
}
.footer-nav span {
  color: #9c8561;
}
.brand-info {
  display: flex;
  font-size: 0.98rem;
  color: #8a8782;
  align-items: center;
}

/* ---- Testimonial Cards ---- */
.testimonials .testimonial-card {
  background: #fff;
  color: #2B3849;
  box-shadow: 0 2px 28px 0 var(--color-shadow);
  border-left: 5px solid var(--color-green);
  margin-bottom: 24px;
}
.testimonials .testimonial-card p {
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.44;
  color: #264028;
}
.testimonials .testimonial-card span {
  color: #C3A57C;
  font-weight: 500;
  margin-left: 20px;
}

/* -------- Cookie Consent Banner -------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 11111;
  background: #fffbed;
  color: #4A5020;
  font-size: 1rem;
  box-shadow: 0 -2px 18px 2px var(--color-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px 24px 22px;
  gap: 20px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  animation: bannerSlideIn 0.47s cubic-bezier(0.42,0.11,0.47,1) both;
}
@keyframes bannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  max-width: 530px;
  font-size: 1rem;
  color: #50411f;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-banner__button {
  display: inline-block;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 21px;
  cursor: pointer;
  padding: 8px 22px;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 0;
}
.cookie-banner__button--accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-banner__button--accept:hover,
.cookie-banner__button--accept:focus {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner__button--settings {
  background: #f4f1e7;
  color: #2B3849;
  border: 1.1px solid var(--color-accent);
}
.cookie-banner__button--settings:hover { background: var(--color-accent); color: #fff; }
.cookie-banner__button--reject {
  background: transparent;
  color: #89764a;
  border: 1.1px solid #C3A57C;
}
.cookie-banner__button--reject:hover { background: #e7e1d1; }

/* --- Cookie Modal ---- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(71, 73, 51, 0.22);
  z-index: 11200;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s cubic-bezier(0.2,0.7,0.6,1) both;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFFBE5;
  border-radius: 28px;
  box-shadow: 0 4px 34px 2px var(--color-shadow);
  padding: 40px 32px 28px 32px;
  min-width: 320px;
  max-width: 98vw;
  width: 420px;
  color: #423916;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalSlideIn 0.32s cubic-bezier(.3,1.2,.4,1) both;
}
@keyframes modalSlideIn {
  from { transform: translateY(46px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal__title {
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-green);
  font-weight: 700;
}
.cookie-modal__group {
  margin-bottom: 14px;
  padding: 12px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal__group label {
  font-size: 1.01rem;
  color: #39422c;
  font-weight: 500;
  flex: 1 1;
}
.cookie-modal__toggle {
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: #EEE9DD;
  position: relative;
  cursor: pointer;
  display: inline-block;
  transition: background 0.16s;
}
.cookie-modal__toggle input[type="checkbox"] {
  display: none;
}
.cookie-modal__toggle-slider {
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px; top: 2px;
  background: #ccc;
  border-radius: 50%;
  transition: left 0.17s, background 0.16s;
}
.cookie-modal__toggle input:checked + .cookie-modal__toggle-slider {
  left: 18px;
  background: var(--color-green);
}
.cookie-modal__toggle input[disabled] + .cookie-modal__toggle-slider {
  background: #b7a472;
  opacity: .56;
}
.cookie-modal__group--essential label {
  color: #677F44;
}
.cookie-modal__group--essential .cookie-modal__toggle {
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* -------- MEDIA QUERIES & RESPONSIVE -------- */
@media (max-width: 900px) {
  .footer-nav, .features ul, .services ul { flex-direction: column; gap: 14px; align-items: flex-start; }
  .card-container, .content-grid { flex-direction: column; gap: 18px; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .content-wrapper { gap: 16px; }
  section, .section { padding: 30px 8px; }
  .hero { padding: 24px 8px 18px 8px; border-radius: 0 0 24px 24px; }
  .footer-nav { gap: 10px; font-size: 0.99rem; }
  .card, .services ul li, .features ul li { min-width: 0; max-width: 100%; padding: 18px 12px; }
  .card-container, .content-grid, .services ul, .features ul,
  .testimonial-card, .testimonials .testimonial-card {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { padding: 14px; margin-bottom: 18px; }
}
@media (max-width: 630px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.17rem; }
  .footer-nav span, .brand-info span { font-size: 0.93rem; }
  .cookie-banner { flex-direction: column; gap: 10px; padding: 19px 10px; font-size: 0.97rem; }
  .cookie-banner__text { max-width: 100%; font-size: 0.97rem; }
  .cookie-modal { min-width: 200px; width: 98vw; padding: 21px 8px 14px 8px; }
}
@media (max-width: 520px) {
  .logo img { height: 36px; }
  header .container { min-height: 56px; padding: 0 7px; }
  .footer-nav { flex-direction: column; gap: 3px; }
  .footer-nav span { line-height: 1.35; }
}

/* ---- MISC ORGANIC SHAPES & TOUCHES ---- */
section, .section, .card, .testimonial-card, .features ul li, .services ul li, .cookie-modal {
  border-radius: 22px 38px 22px 22px;
}
.hero, footer { border-radius: 0 0 40px 40px; }

/* ## ADDITIONAL ACCESSIBILITY ## */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}

/* Composite micro-interactions for links and buttons */
.main-nav a, .footer-nav a, .cta-btn, .services ul li, .features ul li {
  transition: background 0.18s, color 0.13s, box-shadow 0.15s, transform 0.14s;
}
button, .cta-btn {
  transition: background 0.2s, color 0.12s, box-shadow 0.15s, transform 0.13s;
}

/* ----------- END ----------- */
