/* RESET & 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 { line-height: 1.5; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body { background: #FAF8F4; font-family: 'Roboto', Arial, sans-serif; color: #223346; min-height: 100vh; }
a { color: inherit; text-decoration: none; transition: color .18s; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; height: auto; }
table { border-collapse: collapse; width: 100%; margin-bottom: 24px; }
th, td { padding: 12px 12px; text-align: left; }
th { background: #EAF5EA; color: #223346; font-weight: 600; }
td { background: #fff; color: #223346; font-size: 16px; }
strong { font-weight: 600; }

/* NATURE ORGANIC PALETTE */
:root {
  --brand-primary: #223346;
  --brand-secondary: #F6C71B;
  --brand-accent: #FFFFFF;
  --earth-brown: #9F8264;
  --organic-green: #36825C;
  --earth-light: #E3E9E1;
  --earth-dark: #3C3221;
  --organic-olive: #A7BC8C;
  --organic-moss: #709354;
  --transition: .22s cubic-bezier(.55,.07,.45,.95);
  --radius-card: 18px;
  --radius-btn: 30px;
  --shadow-card: 0 4px 24px rgba(56,89,49,0.12);
  --shadow-btn: 0 2px 10px rgba(65, 100, 60, 0.10);
  --gap-section: 24px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #223346;
  line-height: 1.15;
}
h1 { font-size: 2.6rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
p, li, blockquote { font-size: 1rem; font-family: 'Roboto', Arial, sans-serif; line-height: 1.7; margin-bottom: 12px; }
.subtitle {
  font-size: 1.2rem; color: var(--organic-green); font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 22px; font-weight: 500;
}

/* ORGANIC CARD & SECTION SHAPES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 26px 42px 32px 20px/36px 20px 26px 44px;
  background: #fffbe5;
  box-shadow: 0 4px 20px rgba(56, 79, 48, 0.09);
  position: relative;
}

.container {
  width: 100%; max-width: 1150px; margin: 0 auto; padding: 0 20px;
}
.content-wrapper {
  width: 100%; display: flex; flex-direction: column; gap: 28px;
}

.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  margin-bottom: 20px; padding: 26px 22px;
  border-radius: var(--radius-card);
  background: #FFF;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 48px rgba(56,89,49,0.16); transform: translateY(-6px) scale(1.02);
}

.card-content { display: flex; flex-direction: column; justify-content: center; gap: 16px; }

.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; }

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

.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }


/* HERO SECTION */
.hero-section {
  background: linear-gradient(135deg, #E3E9E1 75%, #fffbe5 100%);
  padding: 64px 0 44px 0;
  border-radius: 0 0 40px 40px/0 0 38px 40px;
  margin-bottom: 54px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero-section h1 { color: var(--organic-green); font-size: 2.6rem; margin-bottom: 8px; }
.hero-section .cta-primary { margin-top: 20px; }

/* FEATURE SQUARES */
.features-grid {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start;
}
.feature {
  background: #FFFFFF;
  border-radius: 32px 28px 22px 36px/34px 22px 40px 30px;
  box-shadow: var(--shadow-card);
  flex: 1 1 230px; min-width: 180px; max-width: 270px;
  padding: 24px 20px 22px 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature img { width: 48px; height: 48px; }
.feature:hover {
  box-shadow: 0 8px 48px rgba(32,60,20,0.17); transform: translateY(-5px) scale(1.025); background: #E3E9E1;
}
.feature h3 {
  font-size: 1.2rem; color: var(--organic-green);
}
.feature p {
  color: #3C3221; font-size: 1.01rem;
}

/* SERVICES LISTS */
.services-list, .project-list, .articles-list {
  display: flex; flex-direction: column; gap: 24px;
}
.service, .project-summary, .articles-list > div {
  background: #FFF; border-radius: 22px 24px 30px 16px/32px 18px 22px 38px;
  box-shadow: var(--shadow-card); padding: 24px 20px 16px 24px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service:hover, .project-summary:hover, .articles-list > div:hover {
  box-shadow: 0 8px 48px rgba(112,147,84,0.14); transform: scale(1.015);
  background: #EAF5EA;
}
.service h2, .project-summary h2, .articles-list h2 {
  font-size: 1.13rem; color: var(--organic-green); margin-bottom: 7px;
}
.service .price, .project-summary .price {
  display: inline-block; margin-top: 13px;
  background: var(--earth-light);
  color: var(--organic-moss);
  padding: 5px 18px; border-radius: 100px; font-weight: 600; letter-spacing: 0.5px;
}

/* TABLE PRICELIST */
table th { font-family: 'Montserrat',sans-serif; }
table td strong { color: var(--organic-green); font-weight: 600; }
table tr:nth-child(even) td { background: #F9FAF7; }


/* TESTIMONIALS */
.testimonials-slider {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start;
}
.testimonial-card {
  display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px;
  background: #FAF8F4;
  border-radius: 32px 40px 28px 30px/34px 28px 36px 32px;
  box-shadow: 0 2px 16px rgba(54,130,92,0.07);
  min-width: 220px; max-width: 350px; flex: 1 1 250px;
  font-size: 1rem;
  margin-bottom: 16px;
  border: 1.8px solid #E3E9E1;
}
.testimonial-card blockquote {
  color: #223346; font-size: 1.03rem; line-height: 1.6; font-style: italic;
  margin: 0 0 6px 0; font-family: 'Roboto',sans-serif;
}
.testimonial-card footer {
  color: var(--organic-green); font-size: .97rem; font-weight: 600;
}
.testimonial-card:hover {
  background: #EAF5EA; border-color: var(--organic-olive); box-shadow: 0 4px 32px rgba(54,130,92,.10);
}

/* FAQ */
.faq {
  display: flex; flex-direction: column; gap: 20px; margin-top: 12px;
}
.faq > div {
  background: #FFFFFF;
  border-radius: 18px 24px 16px 18px/22px 16px 18px 28px;
  box-shadow: 0 2px 12px rgba(54,130,92,0.08);
  padding: 18px 20px;
}
.faq h3 { color: var(--organic-moss); font-size: 1.13rem; }

/* QUICK CONTACT */
.quick-contact {
  display: flex; flex-wrap: wrap; gap: 32px 42px; margin: 24px 0 18px 0;
  align-items: center;
}
.quick-contact > div {
  display: flex; align-items: center; gap: 10px; min-width: 210px;
}
.quick-contact img { width: 36px; height: 36px; opacity: 0.77; }
.quick-contact a {
  color: var(--organic-green); text-decoration: underline; font-weight: 500; font-size: 1.07rem;
}
.quick-contact a:hover { color: var(--brand-secondary); }

/* CTA BUTTONS */
.cta-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--organic-moss);
  color: var(--brand-accent);
  padding: 12px 38px;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 1.06rem; font-weight: 700; letter-spacing: .3px;
  border: none; border-radius: var(--radius-btn);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-bottom: 0;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--organic-green); color: #fff; box-shadow: 0 4px 20px rgba(54,130,92,.16); transform: translateY(-2px) scale(1.02);
}

/* MAIN NAVIGATION */
nav.main-nav {
  display: flex; gap: 18px;
  margin-left: 42px;
}
.main-nav a {
  color: var(--earth-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; font-size: 1.01rem; letter-spacing: 0.25px;
  padding: 7px 13px; border-radius: 22px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--earth-light);
  color: var(--organic-green);
}

/* HEADER + LOGO + BURGER */
header {
  background: #fff;
  box-shadow: 0 4px 18px rgba(56, 79, 48, .06);
  position: sticky; top: 0; z-index: 100;
  padding: 0;
}
header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 20px 10px 20px;
}
header a img { height: 52px; width: auto; display: block; }
header .cta-primary { margin-left: 32px; margin-right: 20px; }

.mobile-menu-toggle {
  display: none; /* will be shown on mobile */
  background: var(--organic-moss);
  color: #fff;
  width: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  margin-left: 8px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  z-index: 102;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--organic-green);
  color: var(--brand-secondary);
}

/* MOBILE MENU (OFFCANVAS)*/
.mobile-menu {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,51,70,0.93);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.77, 0, .175, 1);
  display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start;
  padding-top: 32px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin: 18px 28px 10px 0;
  padding: 6px;
  align-self: flex-end;
  z-index: 10001;
  transition: color .18s;
}
.mobile-menu-close:hover { color: var(--brand-secondary); }
.mobile-nav {
  display: flex; flex-direction: column; gap: 24px;
  align-items: flex-start;
  width: 100%;
  margin: 34px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.6px;
  padding: 14px 0;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  display: block;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(166,188,140,0.15);
  color: var(--brand-secondary);
}

/* FOOTER */
footer {
  background: #EAF5EA;
  border-radius: 40px 40px 0 0/38px 40px 0 0;
  box-shadow: 0 -4px 18px rgba(54,130,92, 0.07);
  padding: 34px 0 14px 0;
  margin-top: 42px;
}
footer .container {
  display: flex; flex-wrap: wrap; gap: 30px 48px; align-items: flex-start; justify-content: space-between;
}
.footer-logo img { width: 64px; height: auto; margin-bottom: 10px; }
.footer-nav {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--organic-green); font-size: 1.01rem; text-decoration: underline;
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 1.5px; border-radius: 5px;
  transition: color var(--transition), background var(--transition);
}
.footer-nav a:hover { color: var(--brand-secondary); background: #fffbe5; }
footer address {
  color: var(--earth-brown); font-size: 1rem; font-style: normal;
  line-height: 1.7; margin-bottom: 6px;
}
footer address a {
  color: var(--organic-moss); text-decoration: underline; font-weight: 500;
}
footer .copyright {
  color: #223346; font-size: .95rem; font-family: 'Montserrat',sans-serif;
  margin-top: 10px; opacity: 0.8;
}

/* THANK YOU SECTION */
.thank-you-section .content-wrapper {
  align-items: center; justify-content: center;
  text-align: center;
  gap: 16px;
}
.thank-you-section h1 {
  color: var(--organic-green); font-size: 2.1rem; margin-bottom: 12px;
}
.thank-you-section p { font-size: 1.1rem; }
.thank-you-section .cta-primary { margin-top: 14px; }

/* --- COOKIE CONSENT BANNER AND MODAL --- */
.cookie-consent-banner {
  position: fixed; left: 0; bottom: 0; width: 100vw; z-index: 11000;
  background: #EAF5EA;
  box-shadow: 0 -2px 10px rgba(54,130,92,.16);
  border-radius: 24px 24px 0 0 / 18px 18px 0 0;
  padding: 20px 16px 18px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-size: 1.01rem;
  animation: bannerSlideUp .5s cubic-bezier(.55,.07,.45,.95);
}
@keyframes bannerSlideUp { from { transform: translateY(100%);} to {transform: translateY(0);} }
.cookie-consent-banner p { flex: 1 1 320px; color: #223346; margin: 0; }
.cookie-banner-actions {
  display: flex; gap: 14px; align-items: center;
}
.cookie-btn {
  background: var(--organic-moss);
  color: #fff;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: .96rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  padding: 8px 24px;
  cursor: pointer;
  margin: 0;
  box-shadow: var(--shadow-btn);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-btn:hover:not(:disabled), .cookie-btn:focus:not(:disabled) { background: var(--organic-green); color: #fff; transform: translateY(-2px) scale(1.03); }
.cookie-btn.reject { background: var(--earth-brown); color: #fff; }
.cookie-btn.reject:hover { background: #7a6852; }
.cookie-btn.settings { background: var(--brand-secondary); color: var(--brand-primary); }
.cookie-btn.settings:hover { background: #ffc107; }

.cookie-consent-modal {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 11001;
  background: rgba(34,51,70,0.72);
  display: flex; align-items: center; justify-content: center;
  animation: bgfade .26s linear;
}
@keyframes bgfade { 0% {opacity: 0;} 100% {opacity: 1;} }
.cookie-modal-content {
  background: #fffbea;
  color: #223346;
  border-radius: 26px;
  box-shadow: 0 4px 28px rgba(54,130,92, 0.18);
  padding: 34px 32px 22px 32px;
  min-width: 320px; max-width: 95vw;
  font-family: 'Roboto',sans-serif;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  animation: modalIn .32s cubic-bezier(.55,.07,.45,.95);
}
@keyframes modalIn { from {transform:scale(0.92); opacity:0} to {transform:scale(1); opacity:1} }
.cookie-modal-content h2 {
  color: var(--organic-green);
  font-size: 1.5rem; font-weight: 700; margin-bottom: 9px;
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 16px;
}
.cookie-category {
  display: flex; align-items: center; gap: 14px;
  background: #EAF5EA; padding: 11px 16px; border-radius: 16px;
  font-size: 1.01rem;
}
.cookie-category label {
  font-weight: 500; color: var(--organic-green); cursor: pointer;
}
.cookie-toggle {
  appearance: none; width: 36px; height: 20px; background: #b9cdb6; border-radius: 16px;
  display: inline-block; position: relative; outline: none; cursor: pointer; margin-right: 6px; transition: background .15s;
}
.cookie-toggle:checked { background: var(--organic-green); }
.cookie-toggle:before {
  content: ''; display: block;
  width: 18px; height: 18px; border-radius: 50%;
  background: #FFF;
  position: absolute; left: 1px; top: 1px; transition: left .17s;
  box-shadow: 0 1px 2px rgba(34,51,70,0.09);
}
.cookie-toggle:checked:before { left: 17px; }
.cookie-category input[disabled] + label { opacity: 0.7; }
.cookie-modal-actions {
  display: flex; gap: 16px; margin-top: 6px; align-items: center; justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute; top: 12px; right: 13px;
  background: none; border: none; color: #223346; font-size: 1.7rem; cursor: pointer;
  z-index: 1000; transition: color .2s;
}
.cookie-modal-close:hover { color: var(--brand-secondary); }

/* ------------------- MEDIA QUERIES ------------------- */
@media (max-width: 1050px) {
  .container { max-width: 95vw; }
  footer .container { gap: 22px 16px; }
  .features-grid, .testimonials-slider { gap: 18px; }
}
@media (max-width: 900px) {
  nav.main-nav { gap: 11px; margin-left: 16px; }
  header .container { flex-wrap: wrap; gap: 8px; }
  .features-grid { flex-wrap: wrap; }
  .feature { min-width: 160px; max-width: 230px; }
}
@media (max-width: 768px) {
  .section, .hero-section { padding: 28px 6vw; }
  .features-grid, .testimonials-slider, .services-list, .project-list {
    flex-direction: column; gap: 18px;
  }
  footer .container {
    flex-direction: column; gap: 14px; align-items: flex-start;
  }
  .cta-primary { width: 100%; justify-content: center; }
  .quick-contact { flex-direction: column; gap: 16px; align-items: flex-start; }
  .quick-contact > div { min-width: unset; }
  .hero-section {
    padding: 46px 0 32px 0;
    border-radius: 0 0 26px 26px/0 0 16px 22px;
  }
  .hero-section h1 { font-size: 2.2rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  header .cta-primary { margin-left: 0; margin-right: 0; margin-top: 8px; }
  .services-list, .project-list, .articles-list { gap: 12px; }
  .content-wrapper { gap: 14px; }
  .footer-logo img { margin-bottom: 2px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.17rem; }
  .feature { padding: 16px 10px; }
  .testimonial-card, .card { padding: 14px 10px; }
  .cookie-consent-banner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .cookie-modal-content { padding: 19px 7vw 18px 7vw; }
}
@media (max-width: 440px) {
  .section, .hero-section { padding: 16px 3vw; }
  .content-wrapper { gap: 8px; }
}

/* -------- INTERACTIONS: FOCUS VISIBLE -------- */
a:focus-visible, .cta-primary:focus-visible, .cookie-btn:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 3px solid var(--brand-secondary); outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--organic-green);
  z-index: 12002;
}

/* --------- UTILITY SPACINGS --------- */
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }

/* -------- MISC -------- */
::-webkit-scrollbar { width: 8px; background: #eaf5ea; }
::-webkit-scrollbar-thumb { background: var(--organic-moss); border-radius: 8px; }

/* Decorative details for organic feel */
.section::before {
  content: "";
  display: block;
  position: absolute; left: -18px; top: -20px;
  width: 58px; height: 42px;
  background: rgba(166,188,140,.10);
  border-radius: 35px 10px 32px 48px/24px 30px 42px 60px;
  z-index: 0;
  pointer-events: none;
}
.section::after {
  content: "";
  display: block;
  position: absolute; right: -28px; bottom: -15px;
  width: 40px; height: 22px;
  background: rgba(54,130,92,.12);
  border-radius: 40px 40px 22px 34px/16px 28px 50px 14px;
  z-index: 0;
  pointer-events: none;
}
/* Remove for hero */
.hero-section.section::before,
.hero-section.section::after { display: none; }

/* Ensure .content-wrapper always above before/after decorations */
.section .content-wrapper, .hero-section .content-wrapper { position: relative; z-index: 1; }

