/* 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; background: #F5F4F0; color: #2A3A28; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }

/* FONT IMPORTS */
@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');

/* CSS VARS */
:root {
  --primary: #244056;
  --secondary: #6ECB72;
  --accent: #F3F6F9;
  --neutral: #F5F4F0;
  --text-dark: #244056;
  --text-body: #3B4030;
  --success: #6ECB72;
  --danger: #B23C17;
  --radius-small: 12px;
  --radius-large: 32px;
  --shadow: 0 2px 18px rgba(66, 91, 52, 0.08), 0 1.5px 5px rgba(36,64,86,.07);
  --shadow-card: 0 4px 24px rgba(36, 64, 86, .10);
  --focus-ring: 0 0 0 3px #A4D05B60;
  --transition: all .20s cubic-bezier(.42,0,.58,1);
}

/* LAYOUT */
.container {
  max-width: 1140px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 0 12px 0;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
main {
  min-height: 60vh;
}

/***** TYPOGRAPHY *****/
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  line-height: 1.15;
}
h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 16px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 14px; }

body, p, ul, ol, li, span, em, strong {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-body);
  font-size: 1.1rem;
  line-height: 1.7;
}
strong { font-weight: 600; }
em { font-style: italic; }

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

/***** ORGANIC & EARTHY DESIGN DETAILS *****/
body { 
  background: var(--neutral);
}
section, .card, .testimonial-card, .footer-brand img {
  border-radius: var(--radius-large);
  background: #fff;
  box-shadow: var(--shadow);
}
.hero {
  background: #F2FAF1 url('../assets/organic-bg.svg') no-repeat right top;
  padding: 64px 0 32px 0;
  background-size: 50% auto;
  border-radius: 0 0 var(--radius-large) var(--radius-large);
  margin-bottom: 60px;
}
.hero .content-wrapper { text-align: left; max-width: 620px; }
.hero h1 {
  color: var(--primary);
  margin-bottom: 18px;
  text-shadow: 0 1.5px 5px rgba(36,64,86,0.07);
}
.hero p { font-size: 1.3rem; margin-bottom: 36px; color: #466137; }

/********* FLEXBOX LAYOUTS *********/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  flex: 1 1 310px;
  position: relative;
  min-width: 260px;
}
.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: #FDFFFC;
  box-shadow: 0 2px 16px rgba(36,64,86,.06);
  padding: 20px 28px;
  margin-bottom: 24px;
  border-radius: var(--radius-large);
  border-left: 5px solid var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/***** BUTTONS & CTA *****/
.cta, .cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-small);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px rgba(108,203,114,0.09);
  border: none;
  outline: none;
  padding: 13px 36px;
  min-width: 145px;
  margin-top: 20px;
  margin-bottom: 8px;
  transition: background 0.18s, transform 0.12s, box-shadow 0.19s;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: #57B862;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 24px rgba(108,203,114,0.23);
  outline: var(--focus-ring);
}

.button-alt, .button-alt:visited {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-weight: 500;
  padding: 11px 28px;
  border-radius: var(--radius-small);
  transition: background 0.18s, border 0.18s;
}
.button-alt:hover, .button-alt:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/***** MAIN NAV *****/
.main-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-menu a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  padding: 4px 0px;
  border-radius: 6px;
  transition: color 0.13s, background 0.18s;
  font-size: 1.04rem;
  position: relative;
}
.main-menu a:not(.cta)::after {
  content: '';
  display: block;
  height: 2.5px;
  width: 0;
  background: var(--secondary);
  transition: width 0.18s;
  border-radius: 10px;
  margin: 2px auto 0 auto;
}
.main-menu a:hover, .main-menu a:focus {
  color: var(--secondary);
  background: #F2FAF1;
}
.main-menu a:not(.cta):hover::after, .main-menu a:not(.cta):focus::after {
  width: 60%;
}

/***** MOBILE MENU BUTTON *****/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--secondary);
  cursor: pointer;
  z-index: 1500;
  transition: color 0.18s;
  margin-left: 16px;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-ring);
}

/***** MOBILE MENU OVERLAY *****/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,64,86,0.96);
  transform: translateX(100vw);
  transition: transform .38s cubic-bezier(.77,.03,.45,1.01);
  z-index: 2220;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  margin: 22px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover { color: var(--secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 48px 0 0 0;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.38rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 6px;
  width: 80%;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #284E34;
  color: var(--secondary);
}

/***** FOOTER *****/
footer {
  background: #f3f5f2;
  padding: 48px 0 28px 0;
  margin-top: 70px;
  border-radius: var(--radius-large) var(--radius-large) 0 0;
  box-shadow: 0 -2px 22px rgba(36,64,86,0.04);
}
.footer-brand img { width: 110px; margin-bottom: 26px; }
.footer-menu, .legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-menu a, .legal-menu a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  margin-right: 12px;
  transition: color 0.14s;
}
.footer-menu a:hover, .legal-menu a:hover { color: var(--secondary); }
.contact-info {
  font-size: 1.02rem; color: #466137; margin: 16px 0 8px 0;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 0 0;
}
.footer-social img {
  opacity: 0.82;
  transition: opacity 0.17s;
  width: 28px;
  height: 28px;
}
.footer-social a:hover img { opacity: 1; filter: drop-shadow(0 3px 6px #a6cbb547); }

/***** CARDS & ORGANIC UI *****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 25px 0;
}
.feature-grid li {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  background: #F3F6F9;
  border-radius: var(--radius-small);
  padding: 18px 22px;
  gap: 14px;
  box-shadow: 0 2.5px 7px rgba(36,64,86,.06);
  font-size: 1.09rem;
  margin-bottom: 8px;
  color: #466137;
  border-left: 4px solid var(--secondary);
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: brightness(0.8) sepia(0.28) hue-rotate(50deg) saturate(1.3);
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 22px;
}
.service-list li {
  background: #FFF;
  border-radius: var(--radius-small);
  box-shadow: 0 3px 14px rgba(36,64,86,0.09);
  padding: 18px 22px 14px 22px;
  margin-bottom: 4px;
  border-left: 4px solid var(--primary);
}
.case-study, .tech-list, .tech-advantages, .service-snippets, .brand-values, .news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 22px;
}
.project-description {
  padding: 24px 20px;
  box-shadow: 0 3px 18px rgba(36,64,86,0.07);
  border-radius: var(--radius-small);
  background: #F7FDF5;
  margin-bottom: 20px;
}
.text-section {
  margin-bottom: 17px;
  background: #f6fbf4;
  border-radius: var(--radius-small);
  padding: 12px 18px;
}
.map {
  margin-top: 10px;
  background: #f3f6f9;
  border-radius: var(--radius-small);
  padding: 12px 18px;
  font-style: italic;
}

/***** TESTIMONIALS CARDS *****/
.testimonial-card p {
  font-size: 1.13rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  color: #426137;
  letter-spacing: 0.007em;
}
.testimonial-card {
  margin-bottom: 24px;
}

/***** VISUAL HIERARCHY & SPACING *****/
.section:not(:last-child) {
  margin-bottom: 60px;
}
.section {
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 24px;
}

/***** ANIMATIONS & MICROINTERACTIONS *****/
.card, .testimonial-card, .service-list li, .feature-grid li, .case-study li, .tech-list li {
  transition: box-shadow .18s, transform .19s;
}
.card:hover, .testimonial-card:hover, .service-list li:hover, .feature-grid li:hover {
  box-shadow: 0 13px 32px rgba(108,203,114,0.09);
  transform: scale(1.022);
}

/* Focus visible */
a:focus, button:focus, .cta:focus, .main-menu a:focus, .mobile-nav a:focus {
  outline: var(--focus-ring);
  z-index: 3;
}

/***** TABLES (PRIVACY/LEGAL PAGES) *****/
table {
  width: 100%;
  margin-bottom: 28px;
  border-collapse: collapse;
}
th, td {
  padding: 12px 8px;
  text-align: left;
}
th { background: #EDEBE3; color: var(--primary); font-weight: 600; }
td { background: #FFF; color: #466137; border-bottom: 1px solid #e9e6df; }

/***** FORMS (CONTACT, NEWSLETTER - if used) *****/
input, textarea, select {
  padding: 12px 14px;
  border: 2px solid #e0efda;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
  width: 100%;
  background: #fbfff7;
  color: var(--primary);
  transition: border-color 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: var(--focus-ring);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--primary);
  display: block;
}

/******* RESPONSIVENESS *******/
@media (max-width: 1100px) {
  .container { max-width: 940px; }
}
@media (max-width: 900px) {
  .container { max-width: 97vw; }
}
@media (max-width: 768px) {
  body { font-size: 17px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container { padding-left: 9px; padding-right: 9px; }
  .header-top { flex-direction: row; gap: 12px; }
  .main-menu { display: none; }
  .mobile-menu-toggle {
    display: block;
    position: relative;
    z-index: 2032;
  }
  .footer-brand img { width: 75px; }
  .footer-menu, .legal-menu { flex-direction: column; gap: 12px; }
  .feature-grid { flex-direction: column; }
  .service-list { gap: 13px; }
  .card-container, .content-grid { flex-direction: column; gap: 17px; }
  .section { padding: 24px 7px; margin-bottom: 35px; }
  .hero { padding: 36px 7px; }
  .testimonial-card { padding: 13px 12px; }
  .project-description { padding: 12px 9px; }
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* Hamburger overlay on mobile always covers nav */
@media (max-width: 992px) {
  .main-menu { display: none; }
  .mobile-menu-toggle { display: block; }
}

/***** COOKIE CONSENT BANNER *****/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #345e40;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 -3px 18px rgba(36,64,86,0.13);
  z-index: 2350;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  gap: 26px;
  flex-wrap: wrap;
  border-radius: var(--radius-large) var(--radius-large) 0 0;
  animation: bannerSlideIn .5s;
}
@keyframes bannerSlideIn { from { transform: translateY(110px); } to { transform: translateY(0); } }
.cookie-banner__text {
  flex: 2 1 260px;
  margin-right: 16px;
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-btn, .cookie-btn:visited {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 24px;
  border-radius: var(--radius-small);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  margin: 0 0 4px 0;
  background: var(--secondary);
  color: #fff;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-btn.reject {
  background: #df4343;
  color: #fff;
}
.cookie-btn:focus { outline: var(--focus-ring); }
.cookie-btn:hover { background: #5dae64; color: #fff; }
.cookie-btn.settings:hover { background: var(--secondary); color: #fff; }
.cookie-btn.reject:hover { background: #b23c17; }

/***** COOKIE MODAL *****/
.cookie-modal {
  position: fixed;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-large);
  box-shadow: 0 10px 44px rgba(36,64,86,0.12);
  padding: 48px 34px 34px 34px;
  min-width: 320px;
  max-width: 97vw;
  z-index: 2388;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalReveal .34s;
}
@keyframes modalReveal {from {opacity: 0; transform: translate(-50%, 30%);} to {opacity: 1; transform: translate(-50%,-50%);} }
.cookie-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cookie-modal__header h2 { color: var(--primary); font-size: 1.36rem; }
.cookie-modal__close {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 2rem;
  cursor: pointer;
  margin-left: 12px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.08rem;
  padding: 6px 0;
}
.cookie-category label {
  font-weight: 500;
  color: var(--primary);
  margin-top: 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 21px;
  height: 21px;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #bbbbbb;
}
.cookie-category.essential label {
  color: #aaaaaa;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 600px) {
  .cookie-modal { padding: 20px 9px; }
  .cookie-modal__header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cookie-modal__actions { flex-direction: column; gap: 11px; }
}

/****** ENSURE NO OVERLAP, FLEX SPACING ******/
.card-container>*:not(:last-child), .content-grid>*:not(:last-child), .feature-grid>*:not(:last-child),
.service-list>*:not(:last-child), .testimonial-card:not(:last-child), .footer-menu>*:not(:last-child), .legal-menu>*:not(:last-child) {
  margin-right: 0;
  margin-bottom: 20px;
}

/****** MISC ORGANIC DECOR *******/
.hero, .footer-brand img {
  border-radius: 0 0 75px 75px / 0 0 45px 45px;
}
.section, .card, .testimonial-card {
  border-radius: 32px 24px 42px 18px/28px 34px 14px 42px;
}
.feature-grid li, .service-list li {
  border-radius: 20px 28px 20px 12px / 18px 10px 32px 30px;
}

/* Brand-values list with leaf icon (simulate organic by bullet) */
.brand-values li:before {
  content: '🍃';
  color: var(--secondary);
  margin-right: 9px;
  font-size: 1.04em;
  vertical-align: -2px;
}

/***** PRINT MODE (for privacy/legal) *****/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display:none !important; }
  .container { width: 99vw !important; padding: 0 !important; }
  .section, .card, .testimonial-card { box-shadow: none; background: #fff !important; }
}
