/* RESET & BASELINE ------------------------ */
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; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #173824;
  background: #F7F7F2;
  line-height: 1.65;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: #17405B; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #407860; }
ul, ol { margin-left: 24px; }
strong { font-weight: 700; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit;
}

/* COLORS & THEME VARIABLES ------------------ */
:root {
  --color-primary: #17405B;
  --color-primary-dark: #11304A;
  --color-secondary: #A8B9C6;
  --color-accent: #F7F7F2;
  --color-green: #407860;
  --color-green-dark: #265A48;
  --color-brown: #A58A6A;
  --color-earth-bg: #F3EEE7;
  --color-gray: #e2e6e0;
  --shadow-card: 0 4px 20px rgba(58, 78, 51, 0.08);
  --radius-base: 18px;
  --radius-lg: 32px;
  --transition: 0.2s cubic-bezier(.57,.21,.69,1.25);
}

/* TYPOGRAPHY --------------------------------- */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.15;
  color: #17405B;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: #265A48;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #17405B;
  margin-bottom: 14px;
}
h4, .h4 {
  font-weight: 500; font-size: 1.1rem; margin-bottom: 10px; }
p {
  margin-bottom: 16px;
}
.text-section p,
.content-wrapper p {
  max-width: 740px;
}

/* LAYOUT ------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container, .feature-grid, .service-grid, .project-preview-grid, .project-list, .testimonial-list, .case-study-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { margin-bottom: 20px; position: relative; background: white; }
.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: #F7F7F2;
  border-radius: var(--radius-base);
  box-shadow: 0 2px 12px rgba(64, 120, 96, 0.08);
  border: 1px solid #e2e6e0;
  margin-bottom: 20px;
}
.feature-item, .service-item, .project-card, .project-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  min-width: 240px;
  flex: 1;
}
.project-preview-grid, .service-grid, .feature-grid, .project-list {
  gap: 24px;
}
.benefit-icons, .stars {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* HERO SECTION ----------------------------- */
.hero {
  background: var(--color-earth-bg);
  padding: 56px 0 46px 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 8px 40px rgba(16,56,41,0.06);
  margin-bottom: 48px;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-green);
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.hero p {
  color: #265A48;
  font-size: 1.12rem;
  margin-bottom: 20px;
}
.hero .cta-button {
  margin-top: 6px;
}

/* BUTTONS & CTA ------------------------------ */
.cta-button, .cta-link, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 14px 30px;
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(64,120,96,0.07);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform 0.15s;
  margin-right: 12px;
  text-decoration: none;
}
.cta-button:focus, .cta-button:hover, .cta-link:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(64,120,96,0.14);
  color: #fff;
}
.cta-link {
  background: transparent;
  color: var(--color-green);
  text-decoration: underline;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.cta-link:focus, .cta-link:hover {
  color: var(--color-primary);
  background: none;
}

/* MAIN NAVIGATION ------------------------- */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  background: transparent;
  position: relative;
  z-index: 15;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}
.main-nav ul li {
  margin: 0;
}
.main-nav ul a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #17405B;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.main-nav ul a:hover, .main-nav ul a:focus {
  background: #e2e6e0;
  color: var(--color-green);
}
.main-nav img {
  height: 44px; width: auto;
}

/* FOOTER ----------------------------------- */
footer {
  background: #E2E6E0;
  padding: 34px 0 12px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 80px;
  font-size: 1rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-content > * { margin-bottom: 12px; }
.footer-contact a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--transition);
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--color-green-dark);
}
.footer-nav {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--color-green-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  padding: 2px 0;
}
.footer-nav a:hover, .footer-nav a:focus { text-decoration: underline; color: var(--color-primary-dark); }
footer img { height: 40px; width: auto; margin-bottom: 16px; }

/* CARDS & LISTS --------------------------- */
.card, .feature-item, .service-item, .project-card, .project-item, .faq-item, .case-study {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-item:hover, .service-item:hover, .project-card:hover, .project-item:hover, .case-study:hover {
  box-shadow: 0 4px 24px rgba(64, 120, 96, 0.14);
  transform: translateY(-2px) scale(1.01);
}
.card:last-child, .feature-item:last-child, .service-item:last-child, .project-card:last-child, .project-item:last-child { margin-bottom: 0; }

.values-list, .faq-list ul, .case-study-list, .project-stats ul {
  list-style: disc inside;
  margin-bottom: 18px;
  font-size: 1rem;
}
.values-list li, .faq-list li, .project-stats li { margin-bottom: 8px; }

.project-stats { margin-bottom: 20px; color: #265A48; font-size: 0.96rem; }

/* TESTIMONIALS ----------------------------- */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.testimonial-card {
  background: #F7F7F2;
  border-radius: var(--radius-base);
  box-shadow: 0 1px 10px rgba(64,120,96,0.08);
  border: 1px solid #e2e6e0;
  color: #17405B;
  min-width: 246px;
  max-width: 390px;
  flex: 1 1 290px;
}
.testimonial-card p {
  font-style: italic;
  color: #265A48;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.testimonial-card span {
  color: #265A48;
  font-size: 0.99rem;
  font-weight: 600;
}
.stars img { width: 24px; height: 24px; }

/* FAQ -------------------------------------- */
.faq-list { flex-direction: column; gap: 20px; }
.faq-item h3 { color: var(--color-green); margin-bottom: 5px; font-size: 1.08rem; font-weight: 600; }

/* SPECIAL LAYOUT ELEMENTS ------------------- */
.benefit-icons img { width: 48px; height: 48px; border-radius: 50%; background: #E2E6E0; padding: 6px; }

/* STEP TIMELINES ---------------------------- */
.stepper-timeline {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stepper-timeline li {
  position: relative;
  padding-left: 36px;
  font-size: 1rem;
}
.stepper-timeline li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0; top: 4px;
  background: var(--color-green);
  color: #fff;
  width: 24px; height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 1px 4px rgba(64,120,96,0.09);
  font-size: 1rem;
}

/* MOBILE NAVIGATION ------------------------- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: #407860;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 110;
  box-shadow: 0 2px 10px rgba(23,64,91,0.12);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #265A48; color: #FFF; }

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23, 56, 33, 0.98);
  z-index: 120;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.76,-0.23,.41,1.18);
  box-shadow: 0 0 64px rgba(16,56,41,0.40);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F7F7F2;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 28px;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 7px 0;
  margin: 0;
  font-weight: 600;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: #407860; color: #fff; }

/* Hide desktop nav & show burger on mobile */
@media (max-width: 950px) {
  .main-nav ul { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: flex; margin-left: auto; }
}
@media (min-width: 950px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* RESPONSIVE DESIGN ------------------------- */
@media (max-width: 1000px) {
  .container { max-width: 97vw; }
  .footer-content { flex-direction: column; gap: 22px; }
  .main-nav { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .card-container, .feature-grid, .service-grid, .project-preview-grid, .project-list, .testimonial-list, .case-study-list {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch;
  }
  .text-image-section { flex-direction: column; gap: 20px; align-items: flex-start; }
  .section { padding: 34px 8px; margin-bottom: 42px; }
  h1, .h1 { font-size: 1.65rem; }
  h2, .h2 { font-size: 1.2rem; margin-bottom: 12px; }
  .hero { padding: 28px 0 28px 0; border-radius: 0 0 18px 18px; }
  .feature-item, .service-item, .project-card, .project-item, .faq-item, .case-study { min-width: 0; padding: 18px 10px; }
  .footer-content { flex-direction: column; gap: 20px; align-items: stretch; }
}
@media (max-width: 480px) {
  body { font-size: 14px; }
  .footer-contact, .footer-nav { font-size: 0.93rem; }
  .main-nav img, footer img { height: 32px; }
  .hero { padding-top: 16px; padding-bottom: 16px; }
}

/* MICRO-INTERACTIONS & HOVERS -------------- */
.card, .feature-item, .service-item, .testimonial-card, .case-study {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-item:hover, .service-item:hover, .testimonial-card:hover, .case-study:hover {
  box-shadow: 0 4px 24px rgba(64,120,96,0.16);
  transform: translateY(-4px) scale(1.011);
}
ul li::marker {
  color: #407860;
  font-size: 1.01em;
}

/* COOKIE CONSENT BANNER --------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: rgba(251, 248, 237, 0.98);
  box-shadow: 0 -4px 28px rgba(165,138,106,0.09);
  padding: 18px 8px 18px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-radius: 18px 18px 0 0;
  animation: cookieBannerIn 0.5s cubic-bezier(.57,.45,.34,1.21);
}
@keyframes cookieBannerIn { from { transform: translateY(100px); opacity:0; } to { transform: translateY(0); opacity:1; } }
.cookie-banner .cookie-message {
  max-width: 570px;
  font-size: 1rem;
  margin-right: 18px;
  color: #17405B;
}
.cookie-banner .cookie-btn {
  margin-right: 12px;
  margin-bottom: 2px;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 22px;
  border: none;
  font-family: 'Montserrat',Arial,sans-serif;
  background: #407860;
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner .cookie-btn:last-child { margin-right: 0; }
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus { background: #17405B; color: #fff; }
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #17405B;
  border: 1.5px solid #A58A6A;
  box-shadow: none;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #F7F7F2;
  color: #265A48;
}

/* COOKIE CONSENT MODAL */
.cookie-modal-bg {
  position: fixed;
  z-index: 10003;
  top: 0; left: 0; right: 0; bottom:0;
  background: rgba(34,41,39,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal-bg.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  min-width: 290px;
  max-width: 98vw;
  width: 410px;
  background: #F3EEE7;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 32px rgba(165,138,106,0.17);
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: cookieModalIn 0.45s cubic-bezier(.64,.21,.52,1.12);
}
@keyframes cookieModalIn { from { transform:translateY(64px); opacity:0;} to {transform:translateY(0); opacity:1;} }
.cookie-modal h2 {
  color: #265A48;
  margin-bottom: 4px;
  margin-top: 0;
  font-size: 1.2rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-toggle {
  width: 44px; height: 22px;
  background: #A8B9C6;
  border-radius: 14px;
  position: relative;
  transition: background 0.14s;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid #A58A6A;
}
.cookie-modal .cookie-toggle[data-checked="true"] { background: #407860; }
.cookie-modal .cookie-toggle::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 100px;
  background: #fff;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle[data-checked="true"]::after { left: 23px; }
.cookie-modal .cookie-toggle.disabled { background: #E2E6E0; pointer-events: none; opacity: 0.55; }
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn { font-size: 1rem; padding: 9px 20px; }
.cookie-modal .cookie-caption { font-size: 0.99rem; color: #265A48; margin-top: 2px; }

/* FORMS ------------------------------------- */
input, textarea, select {
  border: 1.5px solid #A8B9C6;
  padding: 10px;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 18px;
  background: #F7F7F2;
}
input:focus, textarea:focus, select:focus {
  border-color: #265A48;
  outline: none;
}

/* ORGANIC SHAPE DECORATIVE ELEMENTS (OPTIONAL EXAMPLES) ------ */
.organic-leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 100px; height: 100px; /* Set as needed */
  left: -36px; top: -18px;
  opacity: 0.08;
}

/* VISUAL FEEDBACK --------------------------- */
[aria-current="page"], .main-nav ul a[aria-current="page"] {
  color: #407860;
  font-weight: bold;
  background: #F7F7F2;
}

/* UTILITY SPACING --------------------------- */
.mb-0 { margin-bottom: 0!important; }
.mb-8 { margin-bottom: 8px!important; }
.mb-16 { margin-bottom: 16px!important; }
.mb-20 { margin-bottom: 20px!important; }
.mt-20 { margin-top: 20px!important; }
.gap-16 { gap: 16px!important; }
.gap-24 { gap: 24px!important; }

/* PRINT ------------------------------------- */
@media print {
  header, footer, .cookie-banner, .cookie-modal-bg, .mobile-menu { display: none !important; }
  .container { max-width: 100vw; padding: 0; }
}
