/* ==============================  
   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; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #f8f5f0;
  color: #253418;
  font-family: 'Roboto', Arial, sans-serif;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* ==============================  
   BRAND PALETTE & NATURE ORGANIC THEME
   ============================== */
:root {
  /* Brand Colors */
  --color-primary: #1B2936; /* Deep marine/earth */
  --color-secondary: #EFBA3A; /* Sun/korn yellow */
  --color-accent: #FFFFFF; /* White */
  --color-nature-green: #628259; /* Mossy green */
  --color-leaf: #A2C49A; /* Leaf */
  --color-treebark: #7A6240; /* Earth/Bark Brown */
  --color-sand: #F3E3C3; /* Sandy */
  --color-grass: #95b05a; /* Fresh grass */
  --color-shadow: rgba(73, 85, 51, 0.12);
  --color-light-green: #E7F4E2;
}

body {
  background-color: var(--color-sand);
  color: var(--color-primary);
}

/* ==============================  
   TYPOGRAPHY
   ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;  /* 44px */
  line-height: 1.12;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;      /* 32px */
}
h3 {
  font-size: 1.5rem;    /* 24px */
  color: var(--color-nature-green);
}
h4 {
  font-size: 1.25rem;   /* 20px */
}
.subheadline {
  color: var(--color-nature-green);
  font-size: 1.25rem;
  margin-bottom: 20px;
}
p, li, a, address, blockquote, label {
  font-size: 1.0625rem; /* 17px */
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
blockquote {
  font-style: italic;
  font-size: 1.125rem;
  border-left: 4px solid var(--color-nature-green);
  padding-left: 20px;
  color: var(--color-treebark);
  margin-bottom: 8px;
}
.testimonial-meta, .ratings, .featured-quote { color: var(--color-nature-green); }

/* ==============================  
   CONTAINERS & LAYOUTS (FLEXBOX ONLY!)
   ============================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 26px;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--color-light-green);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px var(--color-shadow);
  position: relative;
  transition: box-shadow .21s, transform .17s;
}
.card:hover {
  box-shadow: 0 7px 28px rgba(74, 102, 73, .27);
  transform: translateY(-6px) scale(1.012);
}
.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: var(--color-sand);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 8px var(--color-shadow);
  margin-bottom: 24px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==============================  
   NAVIGATION HEADER
   ============================== */
header {
  background: var(--color-accent);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-bottom: 2px solid var(--color-leaf);
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  position: relative;
}
nav > a img {
  height: 44px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: 24px;
  align-items: center;
}
nav ul li {
  display: flex;
  align-items: center;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-nature-green);
  padding: 7px 14px;
  border-radius: 12px;
  transition: background .19s, color .19s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: var(--color-leaf);
  color: var(--color-primary);
}
.cta-btn {
  background: var(--color-nature-green);
  color: var(--color-accent);
  border: none;
  border-radius: 30px;
  padding: 11px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .02em;
  margin-left: auto;
  box-shadow: 0 2px 10px var(--color-shadow);
  cursor: pointer;
  transition: background .19s, box-shadow .19s, color .15s,
    transform .15s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 4px 16px rgba(168, 156, 54, 0.2);
}

/* ==============================  
   HERO & NATURE ORGANIC DECORATION
   ============================== */
.hero {
  margin-bottom: 0;
  background: linear-gradient(
    160deg, #eaf6e4 0%, var(--color-light-green) 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 2px 16px rgba(120,164,101,0.11);
}
.hero .container {
  padding-top: 38px;
  padding-bottom: 38px;
}
.text-section {
  max-width: 650px;
}

/* ==============================  
   FEATURES, SERVICES, TEAM & INFO
   ============================== */
.features, .services, .about, .contact, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 30px;
  box-shadow: 0 3px 18px var(--color-shadow);
}
.features ul,
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  flex-direction: column;
}
.features ul li,
.services ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.063rem;
  background: var(--color-light-green);
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 1px 7px var(--color-shadow);
  margin-bottom: 6px;
}
.features ul li img,
.services ul li img {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
}
.team-spirit, .knowledge-culture, .pricing-info {
  background: var(--color-leaf);
  color: var(--color-treebark);
  padding: 10px 20px;
  border-radius: 12px;
  margin-top: 12px;
  font-size: 1.063rem;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
}
.service-item {
  flex: 1 1 220px;
  background: var(--color-light-green);
  border-radius: 22px;
  padding: 26px 20px;
  box-shadow: 0 2px 16px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 200px;
  max-width: 290px;
  margin-bottom: 20px;
  transition: box-shadow .19s, transform .17s;
}
.service-item:hover {
  box-shadow: 0 7px 20px rgba(137,159,107,0.19);
  transform: translateY(-3px) scale(1.01);
}
.quick-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.quick-links a {
  color: var(--color-grass);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--color-sand);
  transition: background .17s, color .17s;
}
.quick-links a:hover { background: var(--color-leaf); color: var(--color-primary); }

/* ==============================  
   TESTIMONIALS
   ============================== */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light-green);
  border-radius: 28px;
  box-shadow: 0 3px 18px var(--color-shadow);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fffefb;
  border-radius: 18px;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  min-width: 210px;
  max-width: 340px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  color: var(--color-nature-green);
  border-left: 6px solid var(--color-secondary);
  font-size: 1.1rem;
  background: transparent;
}
.testimonial-meta {
  font-size: 1rem;
  color: var(--color-treebark);
  font-style: normal;
  margin-top: 6px;
}
.ratings {
  color: var(--color-secondary);
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 14px;
  font-size: 1.15rem;
}
.featured-quote {
  color: var(--color-nature-green);
  font-style: italic;
  margin-top: 12px;
  font-size: 1.2rem;
}

/* ==============================  
   CTA (Call to Action)
   ============================== */
.cta {
  margin-bottom: 60px;
  background-color: var(--color-grass);
  color: var(--color-accent);
  border-radius: 36px;
  box-shadow: 0 3px 21px var(--color-shadow);
}
.cta h2, .cta p { color: var(--color-accent); }
.cta .cta-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-top: 12px;
}
.cta .cta-btn:hover { background: var(--color-nature-green); color: var(--color-accent); }

/* ==============================  
   LEGAL/INFO PAGES
   ============================== */
.legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 30px;
  box-shadow: 0 2px 16px var(--color-shadow);
}
.legal h1 { margin-bottom: 18px; }
.legal ul { margin-bottom: 16px; }
.legal ul li { margin-left: 16px; margin-bottom: 5px; list-style-type: circle; }

/* ==============================  
   CONTACT SECTION
   ============================== */
.contact ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact a { color: var(--color-nature-green); text-decoration: underline; }
.map-neutralPlaceholder {
  background: var(--color-leaf);
  color: var(--color-treebark);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 18px;
  font-style: italic;
}

/* ==============================  
   FOOTER
   ============================== */
footer {
  background: var(--color-accent);
  border-top: 2px solid var(--color-leaf);
  box-shadow: 0 -3px 12px var(--color-shadow);
  padding: 30px 0 14px 0;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 6px;
}
footer ul li a {
  color: var(--color-nature-green);
  transition: color .17s;
}
footer ul li a:hover {
  color: var(--color-treebark);
}
footer small {
  color: var(--color-treebark);
  letter-spacing: .01em;
}

/* ==============================  
   MOBILE NAVIGATION (BURGER MENU)
   ============================== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-nature-green);
  color: var(--color-accent);
  font-size: 2rem;
  border: none;
  padding: 8px 16px 8px 8px;
  border-radius: 15px;
  position: absolute;
  top: 14px;
  right: 22px;
  cursor: pointer;
  z-index: 51;
  box-shadow: 0 2px 6px rgba(98,130,89,0.11);
  transition: background .19s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 330px;
  height: 100vh;
  background: var(--color-light-green);
  box-shadow: -4px 0 24px var(--color-shadow);
  z-index: 999;
  transform: translateX(110%);
  transition: transform .33s cubic-bezier(.54,.11,.19,1.12);
  padding: 40px 24px 24px 24px;
  overscroll-behavior: contain;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-nature-green);
  position: absolute;
  top: 22px;
  right: 20px;
  cursor: pointer;
  z-index: 1010;
}
.mobile-menu-close:hover {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.14rem;
  color: var(--color-primary);
  background: var(--color-leaf);
  border-radius: 14px;
  padding: 14px 12px;
  transition: background .14s, color .19s;
  min-width: 120px;
  text-align: left;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* Hide desktop nav on mobile, Show mobile menu toggle */
@media (max-width: 980px) {
  nav ul,
  nav .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: block; }
}

/* Hide mobile menu on desktop */
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu.open,
  .mobile-menu-toggle { display: none !important; }
  nav ul,
  nav .cta-btn { display: flex !important; }
}

/* ==============================  
   COOKIE CONSENT BANNER & MODAL
   ============================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 310px;
  max-width: 96vw;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 3px 24px var(--color-shadow);
  padding: 28px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 3001;
  transition: opacity .28s, transform .27s;
  opacity: 1;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
}
.cookie-consent-banner p { font-size: 1rem; color: var(--color-primary); }
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background .19s, color .17s;
}
.cookie-btn.accept {
  background: var(--color-nature-green);
  color: var(--color-accent);
}
.cookie-btn.accept:hover { background: var(--color-secondary); color: var(--color-primary); }
.cookie-btn.reject {
  background: var(--color-treebark);
  color: var(--color-accent);
}
.cookie-btn.reject:hover { background: var(--color-leaf); color: var(--color-primary); }
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.settings:hover { background: var(--color-nature-green); color: var(--color-accent); }

/***** Cookie Modal ******/
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(38,55,33,0.38);
  z-index: 3010;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity .23s;
  /* smooth show/hide */
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: var(--color-accent);
  border-radius: 18px;
  padding: 32px 28px 24px 28px;
  box-shadow: 0 4px 30px var(--color-shadow);
  min-width: 285px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cookie-category label { font-weight: 500; }
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-nature-green);
  width: 20px; height: 20px; margin-right: 7px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-treebark);
  cursor: pointer;
}
.cookie-modal-close:hover { color: var(--color-secondary); }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==============================  
   NATURAL ORGANIC DECORATIONS
   ============================== */
.section,
.features,
.about,
.services,
.testimonials,
.legal,
footer,
.cta,
.contact,
.confirmation {
  /* gentle organic edge using border radius */
  border-radius: 24px 48px 32px 50px/34px 40px 30px 46px;
  box-shadow: 0 2px 22px rgba(116,158,65,0.08);
}

/* Add subtle shadow and border for cards & items */
.card, .service-item, .features ul li, .testimonial-card {
  border-radius: 30px 20px 34px 16px/18px 34px 24px 32px;
  box-shadow: 0 2px 22px rgba(116,158,65,0.07);
}

/* ==============================  
   SPACING & GAPS (MANDATORY PATTERNS)
   ============================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ==============================  
   RESPONSIVE:
   - FLEX DIRECTION SWITCHES
   - BREAKPOINTS
   ============================== */
@media (max-width: 980px) {
  .container { padding-left: 13px; padding-right: 13px; }
  .content-grid,
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .quick-links {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  section, .section, .features, .about, .contact, .testimonials, .cta, .legal { padding: 25px 8px; }
  .text-image-section { flex-direction: column; gap: 20px; align-items: flex-start; }
}
@media (max-width: 520px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .service-item, .testimonial-card { padding: 14px 10px; }
  .cookie-consent-banner { padding: 17px 9px 13px 13px; }
  .cookie-modal-content { padding: 18px 7px 14px 10px; }
}

/* ==============================  
   INTERACTIVITY, ANIMATIONS, ACCESSIBILITY
   ============================== */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
.service-item, .card, .testimonial-card, .features ul li {
  transition: box-shadow .21s, transform .15s;
}
.service-item:hover, .features ul li:hover {
  box-shadow: 0 7px 18px rgba(137,159,107,0.13);
  transform: translateY(-3px) scale(1.016);
}
.quick-links a:active, .quick-links a:focus { box-shadow: 0 1px 7px var(--color-shadow); }

@media (hover: hover) {
  .cta-btn:hover, .cookie-btn:hover, .mobile-nav a:hover {
    filter: brightness(0.93) contrast(1.07);
  }
}

/* ==============================  
   MISC/HELPERS
   ============================== */
::-webkit-scrollbar {
  width: 11px;
  background: var(--color-light-green);
}
::-webkit-scrollbar-thumb {
  background: var(--color-leaf);
  border-radius: 7px;
}
a {
  transition: color 0.14s;
}

/***** Hide empty sections on error *****/
section:empty, .container:empty { display: none !important; }
