/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F7F7F7;
  color: #224025;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #21577B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #316238;
  outline: none;
}

/* BRAND COLORS */
:root {
  --primary: #21577B;
  --secondary: #EAD06B;
  --accent: #F7F7F7;
  --organic-green: #316238;
  --earth-brown: #A28360;
  --cream: #F3F0E7;
  --card-shadow: rgba(76,96,79,0.08);
  --organic-dark: #224025;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--organic-dark);
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.9rem;
  line-height: 1.16;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.15rem;
  color: var(--organic-green);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--organic-dark);
}
strong {
  font-weight: 700;
}

/* CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--cream);
  border-radius: 38px 18px 36px 15px/32px 24px 25px 25px;
  box-shadow: 0 4px 24px 0 var(--card-shadow);
  /* mimicking organic shapes */
}

/* CARD PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 26px 15px 33px 19px/22px 25px 23px 21px;
  box-shadow: 0 2px 8px 0 var(--card-shadow);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(49,98,56,0.14);
  transform: translateY(-4px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 23px 24px 21px 19px/27px 19px 25px 21px;
  box-shadow: 0 2px 14px 0 var(--card-shadow);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 480px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #23402D;
  font-size: 1.06rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--organic-green);
  font-style: normal;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 5px 26px 2px rgba(49,98,56,0.10);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fdfbf6;
  padding: 18px 16px;
  border-radius: 25px 20px 20px 22px/20px 20px 24px 18px;
  margin-bottom: 20px;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px -4px var(--card-shadow);
  position: relative;
  z-index: 21;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 18px 0 8px 0;
}
.main-nav > a {
  color: var(--organic-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 16px 8px 16px 8px/9px 9px 14px 11px;
  transition: background 0.23s, color 0.19s;
  display: flex;
  align-items: center;
}
.main-nav a.btn-primary {
  margin-left: auto;
  background: var(--primary);
  color: #fff !important;
  padding: 8px 28px;
  border-radius: 21px 13px 21px 13px/13px 13px 14px 15px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 6px 0 var(--card-shadow);
  letter-spacing: 0.04em;
}
.main-nav a.btn-primary:hover {
  background: var(--organic-green);
  color: #fff;
}
.main-nav > a:not(.btn-primary):hover {
  background: var(--secondary);
  color: var(--organic-dark);
}
.main-nav img {
  height: 38px;
  margin-right: 16px;
}

/* Hide hamburger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  position: absolute;
  right: 24px;
  top: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 2.3rem;
  width: 44px;
  height: 44px;
  border-radius: 14px 23px 13px 21px/15px 13px 19px 22px;
  box-shadow: 0 2px 8px 0 var(--card-shadow);
  cursor: pointer;
  z-index: 40;
  transition: background 0.18s;
}
.mobile-menu-toggle:active {
  background: var(--organic-green);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  background: #fff;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 50;
  padding: 28px 18px 18px 22px;
  transform: translateX(-110vw);
  transition: transform 0.37s cubic-bezier(0.53,0.13,0.21,1.13);
  box-shadow: 4px 0 38px 0 var(--card-shadow);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  margin-left: auto;
  margin-bottom: 27px;
  cursor: pointer;
  transition: color 0.22s;
}
.mobile-menu-close:hover {
  color: var(--organic-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: var(--organic-dark);
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 11px 6px 11px 0px;
  border-radius: 17px 13px 14px 15px;
  transition: background 0.22s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--organic-green);
  outline: none;
}

@media (max-width: 1060px) {
  .container {
    max-width: 800px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .main-nav {
    gap: 10px;
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 7px;
  }
  .section {
    padding: 24px 8px;
    border-radius: 22px 14px 15px 11px/16px 15px 13px 15px;
    margin-bottom: 40px;
  }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 13px 8px;
  }
  .feature-item {
    border-radius: 15px 13px 15px 15px/12px 15px 13px 12px;
    padding: 13px 8px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .main-nav a.btn-primary {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  .subheadline {
    font-size: 1rem;
  }
}


/* BUTTON STYLES */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 21px 13px 21px 13px/13px 13px 14px 15px;
  padding: 10px 32px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(49,98,56,0.05);
  letter-spacing: 0.03em;
  transition: background 0.18s, transform 0.17s, box-shadow 0.18s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--organic-green);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 5px 18px 0 rgba(49,98,56,0.15);
}

/* GENERIC UI STYLES */
ul li {
  padding-left: 0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.37;
  color: #23402D;
  font-size: 1rem;
}
ul li img {
  width: 32px;
  height: 32px;
  margin-right: 6px;
  border-radius: 10px 6px 8px 10px;
  background: var(--cream);
  padding: 4px;
  box-shadow: 0 1px 7px 0 var(--card-shadow);
}

/* SECTION & FLEX BOX SPACING ENFORCEMENT */
.section + .section,
.card + .card,
.testimonial-card + .testimonial-card,
.feature-item + .feature-item {
  margin-top: 20px;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 24px 0;
  border-radius: 26px 0 0 0/16px 0 0 0;
  box-shadow: 0 0 20px 0 rgba(49,98,56,0.11);
  margin-top: 20px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-menu a {
  color: var(--secondary);
  font-size: 1.01rem;
  font-family: 'Montserrat';
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.14s;
  padding: 9px 7px;
  border-radius: 9px;
}
.footer-menu a:hover {
  color: #fff;
  background: var(--organic-green);
}
.footer-contact {
  text-align: center;
  font-size: 1rem;
  color: #fff;
  font-family: 'Roboto';
  opacity: 0.87;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ORGANIC-STYLE ELEMENTS */
.section,
.card,
.testimonial-card,
.feature-item,
.btn-primary,
.main-nav > a,
.footer-menu a {
  /* border-radius is already set above for organic effect */
}

/* SHADOWS + TEXTURES */
.section, .card, .testimonial-card, .feature-item, .btn-primary {
  box-shadow: 0 2px 14px 0 var(--card-shadow);
}

/* ORGANIC BG PATTERNS (subtle effect) */
.section {
  background: linear-gradient(120deg, #f3f0e7 70%, #f7f7f7 100%);
}

/* FORM ELEMENTS (for contact, cookie) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1.5px solid #B6B09B;
  border-radius: 13px 9px 8px 11px;
  margin-bottom: 15px;
  background: #f9f6ec;
  color: var(--organic-dark);
  box-shadow: 0 2px 8px 0 rgba(49,98,56,0.04);
  width: 100%;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(243,240,231,0.96);
  color: var(--organic-dark);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -2px 30px 0 rgba(49,98,56,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 18px 34px;
  z-index: 90;
  animation: cookieSlideIn 0.5s cubic-bezier(0.21,0.78,0.29,1.1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(115%); }
  to { transform: translateY(0); }
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 240px;
  margin-right: 40px;
}
.cookie-banner .btn-cookie {
  margin-right: 11px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  border: none;
  padding: 8px 19px;
  border-radius: 14px 13px 17px 13px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 var(--card-shadow);
  font-weight: 600;
  transition: background 0.14s, transform 0.17s;
}
.cookie-banner .btn-cookie.btn-cookie-settings {
  background: var(--secondary);
  color: var(--organic-dark);
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: var(--organic-green);
  color: #fff;
  transform: scale(1.04);
}
.cookie-banner .btn-cookie.btn-cookie-reject {
  background: #fff;
  color: var(--organic-dark);
  border: 1.5px solid var(--primary);
}
.cookie-banner .btn-cookie.btn-cookie-reject:hover {
  background: #F5EBDB;
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 7px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
    margin-bottom: 8px;
  }
  .cookie-banner .btn-cookie {
    margin-right: 0;
    margin-bottom: 7px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 991;
  background: rgba(34,64,37, 0.29);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.23s;
  animation: modalFadeIn 0.23s;
}
.cookie-modal .cookie-modal-box {
  background: #fff;
  border-radius: 28px 22px 24px 20px/20px 22px 18px 22px;
  box-shadow: 0 4px 32px 0 var(--card-shadow);
  max-width: 420px;
  width: 90vw;
  padding: 23px 23px 26px 23px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 9px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.16s;
  z-index: 992;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--organic-green);
}
.cookie-modal h3 {
  font-size: 1.27rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 8px 0;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #E3E3DC;
  border-radius: 13px 13px 14px 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--organic-green);
}
.cookie-modal .cookie-toggle::before {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.17s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 18px;
}
.cookie-modal .cookie-toggle-label {
  font-size: 1.04rem;
  color: var(--organic-dark);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Transitions for opening/closing mobile menu and cookie modal */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }
}

/* =============== ACCESSIBILITY & FOCUS STATES =============== */
a:focus,
button:focus,
.btn-primary:focus,
input:focus,
.cookie-banner .btn-cookie:focus,
.mobile-menu-close:focus {
  outline: 2px dashed var(--organic-green);
  outline-offset: 2px;
}

/* Misc utility classes */
.mt-2 {margin-top: 8px;}
.mt-4 {margin-top: 16px;}
.mt-8 {margin-top: 32px;}
.mb-2 {margin-bottom: 8px;}
.mb-4 {margin-bottom: 16px;}
.p-2 {padding: 8px;}
.p-4 {padding: 16px;}

/* END */
