/* ======================================================
   CSS RESET & BASELINE NORMALIZATION
====================================================== */
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 { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  background: #f7f5f0;
  color: #2C3E50;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
img, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
strong { font-weight: bold; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ======================================================
   BRAND COLOR VARIABLES & ORGANIC PALETTE
====================================================== */
:root {
  --color-primary: #2C3E50;
  --color-secondary: #B8CFC4;
  --color-accent: #F9E79F;
  --color-green: #58a35c;
  --color-earth-brown: #8B7A53;
  --color-nature-bg: #F7F5F0;
  --color-cream: #FEFBEA;
  --color-dark-text: #2C3E50;
  --color-light-text: #F7F5F0;
  --color-border-neutral: #e7ddd0;
  --color-btn-hover: #305842;
  --color-btn-link: #77b791;
  --shadow-card: 0 4px 16px rgba(90, 90, 70, 0.07), 0 1.5px 8px rgba(110,100,60,0.08);
  --radius-card: 18px;
  --radius-btn: 24px;
}

/* ======================================================
   TYPOGRAPHY
====================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.65rem;
  color: var(--color-green);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: var(--color-earth-brown);
  font-weight: 500;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  margin-bottom: 6px;
}
p, li, span, ul, ol {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
}
.section p, .text-section p {
  margin-bottom: 14px;  
}
strong {
  font-weight: 700;
}

/* ======================================================
   LAYOUT CONTAINERS (MOBILE-FIRST APPROACH)
====================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
@media (min-width: 769px){
  .content-wrapper {
    gap: 36px;
  }
  .section {
    padding: 54px 36px;
  }
}

/* Flexbox groupings */
.card-container, .features-list, .services-list, .services-list-detailed, .services-specialties ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-nature-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover { box-shadow:0 8px 30px rgba(90, 105, 89, 0.11), 0 3px 12px rgba(85,100,60,0.13); transform:translateY(-2px); }
.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;
  padding: 20px;
  background: #fffdfa;
  border-left: 6px solid var(--color-green);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  margin-bottom: 24px;
}
.testimonial-card p { color: var(--color-primary); font-size: 1.08rem; line-height:1.5; }
.testimonial-card span{ color: var(--color-earth-brown); font-weight: 600;font-size:0.99rem; }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ======================================================
   HEADER & NAVIGATION
====================================================== */
header {
  background: var(--color-cream);
  box-shadow: 0 2px 16px rgba(44,62,80,0.03);
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
}
header > .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: none;
}
.btn-primary {
  background: var(--color-green);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: var(--radius-btn);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.22s, transform 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(60,60,50,0.10);
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-btn-hover);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.022);
}
.btn-link {
  background: none;
  color: var(--color-btn-link);
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.17s;
}
.btn-link:hover, .btn-link:focus { color: var(--color-green); text-decoration: underline wavy 2px; }

/* Hamburger menu icon */
.mobile-menu-toggle {
  display: flex;
  position: relative;
  z-index: 101;
  background: var(--color-green);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: var(--color-btn-hover); box-shadow:0 2.5px 9px rgba(44,75,45,0.11); }

/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(247,245,240, 0.98);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(.77,0,.18,1), box-shadow 0.2s;
  box-shadow: 0 0 50px 20px rgba(44,62,80,0.09);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open { transform: translateX(0); pointer-events: auto; }
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-green);
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 12px 21px 12px 7px;
  border-radius: 15px;
  margin: 18px 18px 8px 0;
  cursor: pointer;
  z-index: 2010;
  box-shadow: 0 2px 9px rgba(44,62,80,0.07);
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--color-btn-hover); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 16px 41px;
  border-radius: 40px;
  background: none;
  transition: background 0.15s, color 0.12s;
  width: 100%;
  text-align: center;
  min-width: 220px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-green);
}

/* SHOW MAIN-NAV ONLY ON DESKTOP */
@media (min-width: 950px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 38px;
    align-items: center;
  }
  .main-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--color-primary);
    padding: 6px 0px;
    border-bottom: 2.5px solid transparent;
    transition: border-bottom 0.15s, color 0.15s;
  }
  .main-nav a:hover, .main-nav a:focus {
    color: var(--color-green);
    border-bottom: 2.5px solid var(--color-green);
  }
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* Hide Main nav on mobile */
@media (max-width: 949px) {
  .main-nav {
    display: none;
  }
}

/* ======================================================
   HERO SECTION
====================================================== */
.hero {
  display: flex;
  background: linear-gradient(120deg, var(--color-secondary) 80%, var(--color-accent) 120%);
  border-radius: var(--radius-card);
  margin-bottom: 60px;
  min-height: 290px;
  padding: 40px 0 40px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap:22px;
}
.hero p { font-size: 1.18rem; color: var(--color-primary); margin-bottom:18px; }

/* ======================================================
   CARD & FEATURE DESIGN
====================================================== */
.features-list {
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-list li {
  background: var(--color-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 20px 20px 20px;
  min-width: 240px;
  flex: 1 1 258px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.features-list img {
  width:40px; height:40px; margin-bottom: 6px;
}
.features-list li:hover {
  box-shadow: 0 8px 30px rgba(44, 62, 80,0.11),0 3px 12px rgba(134,126,100,0.13);
  transform: translateY(-2px) scale(1.022);
}
.services-list, .services-list-detailed, .services-specialties ul {
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services-list li, .services-list-detailed li, .services-specialties li {
  background: var(--color-nature-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 16px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  min-width:220px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.services-list li img, .services-list-detailed li img, .services-specialties li img {
  width:38px; height:38px;
}
.services-list li:hover, .services-list-detailed li:hover, .services-specialties li:hover {
  box-shadow:0 8px 30px rgba(44, 62, 80, 0.10);
  transform: translateY(-2px) scale(1.019);
}

/* Project Summaries */
.project-summary {
  background:var(--color-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 22px 22px 18px 22px;
  border-left: 5px solid var(--color-green);
  transition: box-shadow 0.16s, transform 0.11s;
}
.project-summary:hover {
  box-shadow:0 8px 32px rgba(60,80,60,0.10);
  transform: translateY(-1.5px);
}


/* ======================================================
   TEXT BLOCKS, LISTS, GRID
====================================================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section ul, .content-wrapper ul,
.text-section ol, .content-wrapper ol {
  margin: 0 0 10px 18px;
  padding: 0 0 0 16px;
}
.text-section ul li, .content-wrapper ul li {
  list-style-type: disc;
  margin-bottom: 7px;
}
.text-section ol li, .content-wrapper ol li {
  list-style-type: decimal;
  margin-bottom: 7px;
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0 8px 0;
}
.contact-details ul li, .contact-summary span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.06rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.contact-details ul li img, .contact-summary span img {
  width: 20px; height: 20px;
}
.map-location {
  background: var(--color-secondary);
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--color-primary);
  font-size: 1rem;
  margin-top: 8px;
}

/* Contact summary in footer */
.contact-summary {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
}


/* ======================================================
   FOOTER
====================================================== */
footer {
  background: var(--color-cream);
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -3px 22px rgba(154, 144, 83, 0.05);
  margin-top: 60px;
  width: 100%;
}
footer section {
  margin-bottom: 0;
  padding: 36px 0 22px 0;
  background: var(--color-cream);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
footer .content-wrapper {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
}
footer .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin: 12px 0 6px 0;
}
footer .footer-menu a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 2px 0;
  border-bottom: 2.5px solid transparent;
  transition: border-bottom 0.13s, color 0.14s;
}
footer .footer-menu a:hover,footer .footer-menu a:focus {
  color: var(--color-green);
  border-bottom: 2.5px solid var(--color-green);
}


/* ======================================================
   BUTTONS & LINKS
====================================================== */
.btn-primary:active {
  background: var(--color-btn-hover);
  color: #fff;
  transform: scale(0.96);
}
.btn-link:active {
  color: var(--color-earth-brown);
}


/* ======================================================
   COOKIE CONSENT BANNER & MODAL
====================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 3000;
  background: #fcf6d4;
  box-shadow: 0 -3px 22px rgba(80, 90, 70, 0.08);
  padding: 22px 22px 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 1rem;
  border-top: 2.5px solid var(--color-accent);
  animation: fadeInBanner 0.5s ease;
}
@keyframes fadeInBanner {from{ opacity:0; bottom:-100px;} to{opacity:1; bottom:0;} }
.cookie-banner__info {
  flex: 1 1 260px;
  color: var(--color-primary);
}
.cookie-banner__actions {
  display: flex;
  gap: 17px;
}
.cookie-banner__actions .btn-cookie {
  border: none;
  border-radius: var(--radius-btn);
  font-family:'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1em;
  padding: 9px 26px;
  cursor: pointer;
  transition: background 0.19s, color 0.12s, box-shadow 0.17s;
  margin-right: 6px;
  box-shadow: 0 1px 5px rgba(44,58,49,0.06);
}
.btn-cookie-accept { background: var(--color-green); color: #fff; }
.btn-cookie-accept:hover, .btn-cookie-accept:focus { background: var(--color-btn-hover); color: var(--color-accent); }
.btn-cookie-reject { background: #ede3c1; color: var(--color-earth-brown); }
.btn-cookie-reject:hover, .btn-cookie-reject:focus { background: #e3d05a; color: var(--color-primary); }
.btn-cookie-settings { background: none; color: var(--color-green); border: 2px solid var(--color-green); }
.btn-cookie-settings:hover, .btn-cookie-settings:focus { background: var(--color-secondary); border-color: var(--color-btn-hover); color: var(--color-btn-hover); }

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  left:0; top:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(44,62,80,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  pointer-events: all;
  opacity:1;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: var(--radius-card);
  box-shadow: 0 6px 38px rgba(44,62,80,0.14);
  max-width: 91vw;
  width: 440px;
  padding: 32px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: popupIn 0.44s cubic-bezier(.67,0,.41,1);
}
@keyframes popupIn {0%{transform:scale(0.88);opacity:0;} 97%{opacity:1;} 100%{transform:scale(1);} }
.cookie-modal h2 {color: var(--color-green); font-size: 1.25rem; margin-bottom:10px;}
.cookie-modal ul {
  margin-bottom: 8px; margin-left: 16px; padding-left: 0;
}
.cookie-modal ul li {
  margin:10px 0; display: flex; align-items: center; gap:12px; font-size: 1rem;
}
.cookie-modal label {
  color: var(--color-primary);
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-green);
  margin-right: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* Close modal button (can be reused same icon style as menu) */
.cookie-modal__close-btn {
  align-self: flex-end;
  border:none; background:var(--color-green); color:#fff; padding:10px 16px; font-size:1.4rem; border-radius:12px; cursor:pointer; margin-top:-18px; margin-right:-12px; transition:background 0.16s;}
.cookie-modal__close-btn:hover, .cookie-modal__close-btn:focus { background: var(--color-btn-hover); }

/* ======================================================
   UTILITIES, SPACING & ORGANIC SHAPES
====================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-cream);
  border-radius: 56px 18px 56px 18px / 34px 30px 56px 38px;
  /* organic border radius */
  box-shadow: var(--shadow-card);
}
.card, .features-list li, .services-list li, .services-list-detailed li, .project-summary, .testimonial-card {
  border-radius: 45px 18px 46px 19px / 24px 52px 56px 32px;
  /* organic shapes */
}

.gap-24 { gap: 24px; }
.gap-20 { gap: 20px; }
.gap-15 { gap: 15px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }

/* Accent highlight */
.accent {
  color: var(--color-green);
  background: var(--color-accent);
  padding: 1px 8px;
  border-radius:11px;
  font-weight: 600;
}

/* ======================================================
   MEDIA QUERIES: RESPONSIVENESS & LAYOUT CHANGES
====================================================== */
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .section {
    padding: 24px 6px;
    border-radius:32px 12px 36px 14px/15px 21px 38px 20px;
  }

  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .features-list, .services-list, .services-list-detailed, .services-specialties ul {
    flex-direction: column;
    gap: 20px;
  }
  .contact-details {
    flex-direction: column;
    gap: 10px;
  }
  .footer .container, footer .content-wrapper {
    align-items: flex-start;
    gap: 12px;
  }
  footer section {
    padding: 22px 0 19px 0;
  }
  .btn-primary, .btn-link {
    width: 100%;
    text-align: center;
  }
  .hero {
    min-height: 180px;
    padding: 18px 0;
    margin-bottom: 30px;
    border-radius: 22px;
  }
}

@media (max-width:450px) {
  .logo img { height:32px; }
  .footer .footer-menu a{ font-size:0.83rem; }
  .btn-primary { font-size:0.97rem; padding:8px 11px; }
  .btn-cookie { padding:8px 13px; font-size:0.95em; }
}

/* ======================================================
   ANIMATIONS, HOVER & MICRO-INTERACTIONS
====================================================== */
a, .btn-primary, .btn-link, .card, .features-list li, .services-list li, .services-list-detailed li, .project-summary, .testimonial-card {
  transition: box-shadow 0.2s, background 0.18s, color 0.15s, transform 0.13s;
}
button:focus, a:focus {
  outline: 2px dashed var(--color-green);
  outline-offset:2.5px;
}
.btn-primary:active, .btn-link:active {
  transform: scale(0.98);
}
.features-list li:active, .services-list li:active, .testimonials-card:active {
  transform: scale(0.97);
}

/* Subtle fade/slide-ups for cards */
.card, .features-list li, .services-list li, .services-list-detailed li, .testimonial-card, .project-summary {
  opacity:0; transform:translateY(22px);
  animation: fadeUp 0.85s cubic-bezier(.37,0,.35,1.1) 0.15s forwards;
}
@keyframes fadeUp { from {opacity:0;transform: translateY(22px);} to{opacity:1; transform:none;} }

/* ======================================================
   ACCESSIBILITY
====================================================== */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset:1px;}

/* ======================================================
   CUSTOM SCROLLBAR TO MATCH BRAND (PURE CSS)
====================================================== */
::-webkit-scrollbar { width: 9px; background: var(--color-cream); }
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-green); }

/* ======================================================
   END OF STYLES
====================================================== */
