/* 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,
main, 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #283618;
  background: #F8F8F2;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1F3251;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #588157;
  outline: none;
}

/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

/* BRAND COLOR PALETTE */
:root {
  --primary: #1F3251;
  --secondary: #588157;
  --accent: #E9ECEF;
  --earth-brown: #98795F;
  --sand: #E6D6BC;
  --moss: #758467;
  --shadow-green: #D8E2DC;
  --neutral-bg: #F8F8F2;
  --card-bg: #FFFFFF;
  --testimonial-bg: #EBF6EB;
  --organic-shadow: 0 4px 20px rgba(104, 120, 95, 0.09); /* soft greenish shadow */
  --radius-card: 20px;
  --radius-section: 36px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.24rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  color: #283618;
  font-size: 1rem;
  line-height: 1.7;
}
p {
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.14rem;
  color: var(--secondary);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 18px;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.6;
}
strong {
  font-weight: 700;
}

/* BASIC CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 30px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  position: relative;
  padding: 4px 0;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  padding: 12px 28px;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  box-shadow: var(--organic-shadow);
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.20s, transform 0.15s, box-shadow 0.22s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #456145;
  color: #fff;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 8px 32px rgba(104,120,95,0.18);
}

header {
  background: var(--accent);
  box-shadow: 0 1px 6px rgba(31, 50, 81, 0.07);
  z-index: 55;
  position: relative;
}

/* SECTION SPACING + MODULAR FLEXBOX LAYOUTS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-section);
  box-sizing: border-box;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.service-list, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--organic-shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 292px;
  max-width: 370px;
  transition: box-shadow 0.16s, transform 0.12s;
  border: 1px solid var(--accent);
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 38px rgba(104,120,95,0.15);
  transform: translateY(-4px) scale(1.024);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  padding: 20px 18px;
  border-radius: 18px;
  margin-bottom: 20px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--testimonial-bg);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(88, 129, 87, 0.09);
  border: 1px solid #C9E2D4;
  max-width: 720px;
}
.testimonial-card p {
  color: #25351c;
  font-size: 1.09rem;
  margin-bottom: 0px;
}
.testimonial-card strong {
  color: var(--primary);
}
.testimonial-card div:last-child {
  font-size: 1.08rem;
  color: #62753e;
  letter-spacing:2px;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 12px;
  }
}

/* FOOTER */
footer {
  background: var(--accent);
  padding: 32px 0 21px 0;
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  box-shadow: 0 -2px 22px rgba(31,50,81,0.04);
  margin-top: 64px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.97rem;
  color: var(--primary);
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-brand {
  margin-bottom: 6px;
  margin-top: 6px;
}
.footer-copy {
  color: #999b8a;
  font-size: 0.98rem;
  margin-top: 3px;
}

/* BUTTONS & FORMS */
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 1.03rem;
  cursor: pointer;
  transition: background 0.14s, transform 0.14s, box-shadow 0.22s;
  box-shadow: 0 2px 8px rgba(88,129,87,0.10);
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #456145;
  transform: translateY(-1px) scale(1.03);
  outline: none;
}

/* RESPONSIVE FLEXBOX: SERVICE ITEMS */
.service-list > div {
  flex: 1 1 265px;
  background: var(--card-bg);
  border-radius: 16px 32px 20px 20px;
  box-shadow: 0 1px 14px rgba(100,110,100,0.09);
  padding: 22px 20px;
  min-width: 230px;
  max-width: 342px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #e2e7c5;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.service-list > div:hover, .service-list > div:focus-within {
  box-shadow: 0 7px 31px rgba(120,130,93,0.16);
  transform: translateY(-3px) scale(1.025);
}
.service-list h3 {
  color: var(--secondary);
  margin-bottom: 6px;
}
.service-list span {
  color: var(--primary);
  font-size: 1.01rem;
  font-weight: 500;
  margin-top: 6px;
}

/* OL and UL Styling for organic look */
ul, ol {
  list-style-type: disc;
}
ul li:before, ol li:before {
  display: none;
}

/* ADDRESS TAG */
address {
  font-style: normal;
  font-size: 1rem;
  color: #4c532b;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 22px;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  z-index: 201;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(88,129,87,0.12);
  transition: background 0.17s, box-shadow 0.2s, color 0.13s;
}
.mobile-menu-toggle:focus {
  background: #456145;
  outline: 2px solid #c0e2c2;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 5000;
  transition: transform 0.38s cubic-bezier(.59,.42,.07,.98);
  flex-direction: column;
  padding: 0 32px;
  overflow-y: auto;
  transform: translateX(-100vw);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0vw);
}
.mobile-menu-close {
  background: none;
  color: var(--secondary);
  border: none;
  font-size: 2.2rem;
  margin-top: 24px;
  margin-bottom: 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #456145;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.42rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  transition: background 0.13s, color 0.18s;
  border-radius: 12px;
  outline: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #e6eddc;
  color: var(--secondary);
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 16px;
    margin-left: 14px;
  }
  .cta-btn {
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .service-list, .card-container, .content-grid, .footer-nav {
    gap: 12px;
  }
  .feature-item, .card, .service-list > div {
    min-width: unset;
    max-width: 100%;
    padding: 18px 10px;
  }
  .nav-container {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 24px 3px;
    margin-bottom: 44px;
    border-radius: 19px;
  }
  .footer-brand img {
    width: 70px;
    height: auto;
  }
  .testimonial-card {
    max-width: 99vw;
    padding: 7px 7px 10px 7px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 5100;
  display: flex;
  justify-content: center;
  background: #f6fdf2;
  box-shadow: 0 -2px 16px rgba(31,50,81,0.13);
  padding: 20px 8vw 28px 8vw;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  animation: cookieSlideIn 0.62s cubic-bezier(.56,.71,.44,.99);
}
@keyframes cookieSlideIn {
  from { transform: translateY(85px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 540px;
  align-items: flex-start;
}
.cookie-banner-actions {
  display: flex;
  gap: 13px;
  margin-top: 11px;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 7px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 5px;
  transition: background 0.14s, transform 0.15s;
  box-shadow: 0 1px 7px rgba(88,129,87,0.09);
}
.cookie-btn.reject {
  background: #e3a878;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #456145;
  color: #fff;
  outline: none;
  transform: translateY(-1px) scale(1.04);
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #e6eddc;
  color: #25351c;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,55,42,0.15);
  z-index: 6600;
  justify-content: center;
  align-items: center;
  animation: cookieModalIn 0.43s ease;
}
.cookie-modal.active {
  display: flex;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 34px rgba(31,50,81,0.21);
  padding: 34px 23px 25px 23px;
  min-width: 315px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 17px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #456145;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--primary);
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--secondary);
}

.cookie-category .category-desc {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  color: #626d38;
  margin-left: 2px;
}
.cookie-category .cookie-essential {
  color: #aaa;
  font-size: 0.97rem;
  margin-left: 12px;
}

/* ORGANIC/NATURE DECOR (Optional for touch) */
section, .card, .testimonial-card, .service-list > div {
  position: relative;
  overflow: visible;
}
section::before {
  content: '';
  display: block;
  position: absolute;
  left: -48px;
  bottom: -38px;
  width: 60px;
  height: 60px;
  border-radius: 60% 40% 50% 60%/30% 60% 60% 80%;
  background: #e6eddc;
  opacity: 0.21;
  z-index: 0;
}
section:nth-child(even)::before {
  left: auto;
  right: -38px;
  top: -26px;
  bottom: auto;
  width: 48px;
  height: 46px;
  border-radius: 35% 65% 50% 70%/80% 50% 80% 40%;
  background: #efebe9;
  opacity: 0.16;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 14px 2vw 17px 2vw;
    flex-direction: column;
    border-radius: 13px 13px 0 0;
  }
  .cookie-banner-content {
    max-width: 95vw;
  }
}

/* MISC */
::-webkit-scrollbar {
  width: 11px;
  background: #f7f9ef;
}
::-webkit-scrollbar-thumb {
  background: #e6eddc;
  border-radius: 8px;
}

/* Focus for accessibility */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Hide mobile nav by default for desktop */
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
