/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background-color: #f8f6f2;
  color: #374131;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
}
/* FONT FACE */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* COLOR SCHEME - Nature Organic, Brand Aware */
:root {
  --color-primary: #21409A;
  --color-secondary: #F1C232;
  --color-accent: #93b672;
  --color-earth1: #896f3e;
  --color-earth2: #ede0cd;
  --color-green: #629460;
  --color-bg: #f8f6f2;
  --color-text-dark: #374131;
  --color-text-light: #f8f6f2;
  --color-white: #fff;
  --color-shadow: rgba(60,58,55,0.12);
  --color-success: #8cc16e;
  --color-alert: #e38a1a;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--color-green);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.18;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--color-earth1);
}
p, li, ul, label, input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text-dark);
}
p {
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
}

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

/* HEADER + NAV */
header {
  width: 100%;
  background: var(--color-bg);
  box-shadow: 0 4px 24px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 24px;
  padding: 7px 16px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-text-dark);
}
header img {
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  background: var(--color-green);
  color: var(--color-white);
  border-radius: 32px;
  padding: 11px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  border: none;
  box-shadow: 0 3px 12px var(--color-shadow);
  cursor: pointer;
  transition: background 0.2s, transform 0.13s;
  text-align: center;
  margin-left: 16px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-2px) scale(1.04);
}

/* HERO SECTION */
.hero {
  background-color: var(--color-secondary);
  border-bottom-left-radius: 70px 25px;
  border-bottom-right-radius: 80px 38px;
  box-shadow: 0 6px 24px 0 var(--color-shadow);
  margin-bottom: 60px;
  padding: 40px 0 30px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: var(--color-earth1);
}
.hero p {
  font-size: 1.12rem;
  margin-bottom: 18px;
}
.hero .cta-primary {
  margin-left: 0;
  margin-top: 8px;
}

/* SECTION SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 40px 65px 35px 90px / 60px 42px 46px 60px;
  box-shadow: 0 2px 16px var(--color-shadow);
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-earth2);
  border-radius: 32px 50px 30px 40px / 45px 30px 50px 38px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.16s, box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 8px 32px 0 var(--color-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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-bg);
  border-radius: 28px 48px 28px 28px / 25px 40px 45px 38px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 32px 0 var(--color-shadow);
  transform: scale(1.010);
}
.testimonial-card p {
  color: #234024;
  font-size: 1.02rem;
}
.testimonial-card strong {
  color: var(--color-earth1);
}

/* BUTTONS & INTERACTIONS */
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 28px;
  padding: 11px 33px;
  border: none;
  background: var(--color-green);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin: 5px 10px 5px 0;
  font-size: 1rem;
  transition: background 0.19s, transform 0.13s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-2px) scale(1.03);
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--color-earth2);
  color: var(--color-text-dark);
  box-shadow: 0 -3px 16px var(--color-shadow);
  margin-top: 70px;
  padding: 0;
}
footer .container {
  padding: 34px 20px 20px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 5px 0;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-green);
}
footer img {
  display: inline-block;
  height: 18px;
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
footer div > a {
  margin-right: 12px;
  display: inline-block;
  border-radius: 50%;
  padding: 5px;
  background: #eee;
  transition: background 0.18s;
}
footer div > a:hover {
  background: var(--color-secondary);
}

/* MAP WRAPPER (Contact) */
.map {
  margin-top: 18px;
  border-radius: 18px;
  background: var(--color-bg);
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 16px;
  font-size: 1.01rem;
}

/* Flex child spacing for all main list sections */
ul {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
}

/* Responsive tables/layouts, if needed */
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-earth2);
}
th {
  background: var(--color-earth2);
  text-align: left;
}

/* MOBILE MENU / HAMBURGER */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  border: none;
  font-size: 2.3rem;
  box-shadow: 0 2px 12px var(--color-shadow);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: var(--color-bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.87,0.01,0.29,1);
  box-shadow: -7px 0 30px rgba(25,60,10,0.14);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 0 0;
  background: var(--color-secondary);
  color: var(--color-earth1);
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background 0.17s;
}
.mobile-menu-close:hover {
  background: var(--color-green);
  color: var(--color-text-light);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 32px 18px 32px;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.18rem;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-earth2);
  width: 100%;
  display: flex;
  align-items: center;
  border-radius: 0;
  transition: color 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-green);
}

/* HIDE desktop nav on small screens, show burger & mobile nav */
@media (max-width: 980px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 980px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: var(--color-earth2);
  color: var(--color-text-dark);
  box-shadow: 0 -2px 18px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 20px 26px;
  z-index: 200;
  font-size: 1rem;
  transition: transform 0.42s cubic-bezier(.65,0,.26,.98);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner__text {
  flex: 1 1 0%;
}
.cookie-banner__actions {
  display: flex;
  gap: 11px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 26px;
  border-radius: 22px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  transition: background 0.19s, color 0.13s, transform 0.13s;
  margin: 0 3px;
  cursor: pointer;
  box-shadow: 0 2px 9px var(--color-shadow);
}
.cookie-btn.accept {
  background: var(--color-green);
  color: var(--color-white);
}
.cookie-btn.accept:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.reject {
  background: var(--color-earth1);
  color: var(--color-white);
}
.cookie-btn.reject:hover {
  background: #44472c;
  color: var(--color-white);
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-text-dark);
}
.cookie-btn.settings:hover {
  background: var(--color-accent);
  color: var(--color-green);
  transform: translateY(-2px) scale(1.04);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(30,35,22,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.39s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-bg);
  border-radius: 36px 48px 32px 52px / 34px 48px 38px 44px;
  box-shadow: 0 4px 22px var(--color-shadow);
  padding: 38px 32px 24px 32px;
  min-width: 320px;
  max-width: 95vw;
  color: var(--color-text-dark);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalFadeIn 0.4s cubic-bezier(.62, 0, .19, 1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  background: var(--color-earth2);
  border-radius: 50%;
  border: none;
  color: var(--color-earth1);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background 0.17s;
}
.cookie-modal-close:hover {
  background: var(--color-green);
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-weight: 700;
}
.cookie-category input[type="checkbox"],
.cookie-category input[type="radio"] {
  accent-color: var(--color-green);
  width: 22px;
  height: 22px;
}
.cookie-category.essential label, .cookie-category.essential input[type="checkbox"] {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal-footer {
  display: flex;
  gap: 13px;
  margin-top: 22px;
  justify-content: flex-end;
}

/* Animations for banner and modal */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu,
  .cookie-banner,
  .cookie-modal-overlay {
    will-change: transform, opacity;
  }
}

/* ORGANIC / NATURE THEMES */
.section, .card, .testimonial-card, .cookie-modal {
  background-image:
    repeating-linear-gradient(-17deg, hsla(38,37%,97%,0.11) 0 8px, transparent 9px 22px),
    repeating-linear-gradient(63deg, hsla(88,14%,93%,0.12) 0 11px, transparent 7px 21px);
}
.card, .testimonial-card {
  border: 1.5px solid var(--color-earth2);
  box-shadow: 0 2px 10px var(--color-shadow);
}

/* Visual hierarchy & focus */
a:focus, button:focus, .cta-primary:focus, .cookie-btn:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  z-index: 2;
}

/* Section titles alignment */
.content-wrapper > h1, .content-wrapper > h2 {
  margin-bottom: 8px;
}
.content-wrapper > p, .content-wrapper > ul, .content-wrapper > div, .content-wrapper > a {
  margin-bottom: 8px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .hero {
    padding: 24px 0 24px 0;
    border-bottom-left-radius: 40px 13px;
    border-bottom-right-radius: 48px 17px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
    border-radius: 24px 32px 33px 50px / 38px 26px 42px 38px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    padding: 20px 10px;
    border-radius: 18px 30px 20px 26px / 26px 16px 33px 24px;
  }
}

/* Utility classes for spacing consistency */
.mb-20 { margin-bottom: 20px !important; }
.mb-28 { margin-bottom: 28px !important; }
.mt-28 { margin-top: 28px !important; }
.gap-10 { gap: 10px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* Hide visually (for a11y helpers) */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- END --- */
