/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2D302E;
  background: #F4F7FA;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}
a {
  color: #12405F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #247829;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.4em;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #12405F;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 1.1em;
}
strong {
  color: #12405F;
  font-weight: 700;
}

/* BRAND COLORS (nature_organic tones) */
:root {
  --primary: #12405F;
  --secondary: #F4F7FA;
  --accent: #F29031;
  --green: #36945A;
  --earth: #D4C4A2;
  --brown: #786B52;
  --white: #FFFFFF;
  --shadow: 0 4px 16px 0 rgba(41,60,50,0.08);
  --radius: 18px;
}

/*****************
  LAYOUT CONTAINERS
 *****************/
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 8px;
  }
}

/*****************
  HEADER & NAVIGATION
 *****************/
header {
  background: #F4F7FA;
  box-shadow: 0 2px 12px 0 rgba(41,60,50,0.09);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #12405F;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #D4C4A2;
  color: #247829;
}
.cta-btn {
  background: linear-gradient(90deg, #36945A 55%, #F29031 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(41,60,50,0.13);
  cursor: pointer;
  text-align: center;
  margin-left: 16px;
  transition: box-shadow 0.2s, background 0.2s, transform 0.125s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #247829 60%, #F29031 100%);
  box-shadow: 0 8px 24px 0 rgba(41,60,50,0.24);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #36945A;
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  margin-left: 15px;
  z-index: 1003;
}
@media (max-width: 1040px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    margin-left: 0;
    margin-right: 8px;
  }
}

/*****************
  MOBILE MENU
 *****************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: 0;
  background: #F4F7FA;
  box-shadow: 0 0 60px #2D302E11;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.83,-0.02,.32,1.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #247829;
  font-size: 2.25rem;
  margin: 16px 24px 8px 0;
  cursor: pointer;
  padding: 8px 8px;
  border-radius: 100px;
  transition: background 0.14s;
  z-index: 1100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D4C4A2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 10px 32px 18px 32px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #12405F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 0;
  border-radius: 10px;
  width: 100%;
  transition: background 0.21s, color 0.17s;
}
.mobile-nav a:hover {
  background: #D4C4A2;
  color: #247829;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/*****************
  HERO SECTIONS & ORGANIC SHAPES
 *****************/
.hero, .services-hero {
  background: #D4C4A2;
  background-image: url('../assets/hero-bg-organic.svg'), linear-gradient(rgba(244,247,250,0.85),rgba(212,196,162,0.25));
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 0 80px 0/0 0 80px 0;
  box-shadow: 0 10px 36px 0 #E0E2D2aa;
}
.hero .container, .services-hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 340px;
  padding: 40px 20px 48px 20px;
}
.hero h1, .services-hero h1 {
  font-size: 2.8rem;
  color: #247829;
}
.hero p, .services-hero p {
  color: #2D302E;
  font-size: 1.22rem;
  max-width: 580px;
  margin-bottom: 30px;
  margin-top: 6px;
}
@media (max-width: 700px) {
  .hero .container, .services-hero .container {
    min-height: 180px;
    padding-top: 24px;
    padding-bottom: 28px;
  }
  .hero h1, .services-hero h1 {
    font-size: 2.05rem;
  }
}

/*****************
  FLEXBOX PATTERNS & FEATURE GRIDS
 *****************/
.features-grid, .service-grid, .values-list, .project-list, .text-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.features-grid {
  justify-content: flex-start;
}
.features-grid .feature-item,
.values-list > div,
.service-grid .service-block,
.project-list .project-summary,
.text-gallery article {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px 23px 20px;
  min-width: 240px;
  flex: 1 0  290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
  border-left: 7px solid #36945A;
}
.features-grid .feature-item:hover,
.values-list > div:hover,
.service-grid .service-block:hover,
.project-list .project-summary:hover,
.text-gallery article:hover {
  box-shadow: 0 10px 30px #1b322d15;
  transform: scale(1.035);
  border-left: 7px solid #F29031;
}
.features-grid .feature-item img, .values-list > div img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  margin-bottom: 0;
}

@media (max-width: 950px) {
  .features-grid, .service-grid, .values-list, .project-list, .text-gallery {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .features-grid, .service-grid, .values-list, .project-list, .text-gallery {
    flex-direction: column;
    gap: 12px;
  }
  .features-grid .feature-item,
  .values-list > div,
  .service-grid .service-block,
  .project-list .project-summary,
  .text-gallery article {
    min-width: 0;
    width: 100%;
  }
}

/*****************
  CONTENT GRID & TEXT-IMAGE SECTIONS
 *****************/
.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;
}
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/*****************
  CARDS & CARD CONTAINER
 *****************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 23px 22px 20px 22px;
}

/*****************
  TESTIMONIALS
 *****************/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #12405F;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px 0 rgba(41,60,50,0.07);
  min-width: 272px;
  max-width: 400px;
  padding: 20px;
  font-size: 1.09rem;
  margin-bottom: 20px;
  border-left: 6px solid #36945A;
  transition: box-shadow 0.17s, border-color 0.13s, transform 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: #F29031;
  box-shadow: 0 10px 28px 0 rgba(41,60,50,0.10);
  transform: scale(1.028) translateY(-3px);
}
.stars {
  color: #F29031;
  font-size: 1.26em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 3px;
}
@media (max-width: 700px) {
  .testimonials {
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

/*****************
  VALUES & PROJECTS
 *****************/
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.values-list > div {
  flex: 1 0 210px;
  padding: 23px 19px;
  min-width: 200px;
}
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-summary {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 20px;
  flex: 1 0 300px;
  min-width: 260px;
  transition: box-shadow 0.16s, transform 0.14s;
  border-left: 4px solid #F29031;
}
.project-summary:hover {
  box-shadow: 0 12px 25px 0 #37926a18;
  transform: scale(1.02) translateY(-2px);
  border-color: #36945A;
}

/*****************
  FAQ
 *****************/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  margin-bottom: 13px;
  border-left: 5px solid #37926a;
  transition: box-shadow 0.15s, border-color 0.14s;
}
.faq-item:hover, .faq-item:focus-within {
  border-color: #F29031;
  box-shadow: 0 7px 20px #24782909;
}
.faq-item h2 {
  font-size: 1.21em;
  margin-bottom: 8px;
}

/*****************
  FOOTER
 *****************/
footer {
  background: #12405F;
  color: #fff;
  padding: 44px 0 0 0;
  border-radius: 60px 0 0 0/80px 0 0 0;
  margin-top: 64px;
  box-shadow: 0 -3px 20px #12405F18;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F4F7FA;
  opacity: 0.95;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 3px 8px;
  border-radius: 5px;
  transition: background 0.14s, color 0.14s;
  font-weight: 500;
}
.footer-nav a:hover {
  background: #F29031;
  color: #12405F;
  opacity: 1;
}
.footer-contact {
  font-size: 0.98rem;
  color: #D4C4A2;
  max-width: 320px;
  line-height: 1.75;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer {
    border-radius: 32px 0 0 0/60px 0 0 0;
    margin-top: 38px;
  }
}

/*****************
  BUTTONS & INTERACTIVITY
 *****************/
button, .cta-btn {
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.14s, color 0.17s, transform 0.09s;
}
button:focus, .cta-btn:focus {
  outline: 3px solid #36945A;
  outline-offset: 2px;
}

/*****************
  COOKIE CONSENT BANNER & POPUP
 *****************/
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -1px 18px 0 #12405f18;
  padding: 24px 16px 16px 16px;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  font-size: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: cookie-slide-in 0.6s cubic-bezier(.39,.66,.42,1.04);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0;
  color: #12405F;
  flex: 2 0 220px;
  min-width: 200px;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  flex: 1 1 220px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  padding: 9px 25px;
  border-radius: 20px;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 7px #2478290b;
  transition: background 0.15s, color 0.15s;
}
.cookie-accept {
  background: #36945A;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #247829;
}
.cookie-reject {
  background: #D4C4A2;
  color: #247829;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #786B52;
  color: #fff;
}
.cookie-settings {
  background: #fff;
  border: 2px solid #36945A;
  color: #36945A;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F4F7FA;
  color: #36945A;
}
.cookie-modal-overlay {
  position: fixed;
  z-index: 2220;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(18,64,95,0.23);
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: modal-fade-in 0.35s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -8px 32px #2D302E23;
  padding: 40px 32px 28px 32px;
  min-width: 290px;
  max-width: 420px;
  margin-bottom: 38px;
  position: relative;
  animation: modal-slide-up 0.38s cubic-bezier(.71,-0.02,.48,1.21);
}
@keyframes modal-slide-up {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  color: #247829;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 16px 0 24px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F4F7FA;
  padding: 12px 8px 12px 18px;
  border-radius: 13px;
}
.cookie-category label {
  font-weight: 600;
  color: #12405F;
  font-size: 1rem;
  flex: 1 1 auto;
}
.cookie-category input[type="checkbox"] {
  accent-color: #36945A;
  width: 19px;
  height: 19px;
  border-radius: 6px;
}
.cookie-essential label {
  color: #247829;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row-reverse;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 20px;
  background: none;
  border: none;
  font-size: 1.52rem;
  color: #36945A;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #D4C4A2;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 25px 7px 12px 9px;
    min-width: 0;
    max-width: 98vw;
    margin-bottom: 8vw;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 14px 6px 12px 6px;
  }
}

/*****************
  ORGANIC SECTIONS, MISCELLANEOUS, ANIMATIONS
 *****************/
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-list .service-block {
  flex: 1 0 260px;
}
.text-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.text-gallery article {
  flex: 1 0 250px;
}
.cta {
  background: #24782911;
  border-radius: var(--radius);
  padding: 36px 0 36px 0;
  box-shadow: var(--shadow);
}
.cta .cta-btn {
  background: #F29031;
  color: #fff;
  box-shadow: 0 2px 8px #F290315a;
}
.cta .cta-btn:hover {
  background: #247829;
}
.contact .content-wrapper {
  gap: 16px;
}
@media (max-width: 800px) {
  .content-wrapper {
    gap: 12px;
  }
}

/*****************
  ACCESSIBILITY/HIDE
 *****************/
[aria-hidden="true"] {
  display: none !important;
}

/*****************
  UTILITY CLASSES
 *****************/
.flex {
  display: flex;
}
.justify-center {
  justify-content: center;
}
.align-center {
  align-items: center;
}
.row {
  flex-direction: row;
}
.column {
  flex-direction: column;
}
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/*****************
  Z-INDEX GUARD RAILS
 *****************/
.mobile-menu,
.mobile-menu-toggle,
.mobile-menu-close,
.cookie-consent-banner,
.cookie-modal-overlay,
.cookie-modal {
  z-index: 2000;
}

/*****************
  MEDIA QUERIES FOR RESPONSIVENESS
 *****************/
@media (max-width: 700px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .footer-contact, .footer-nav {
    font-size: 0.93rem;
  }
  .footer-nav { gap: 13px; }
}
