/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F8F8F8;
  color: #2b2f2b;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #f7f6f2;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ol, ul {
  list-style-position: inside;
  margin-left: 0;
}
a {
  color: #024873;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #007C96;
  outline-offset: 2px;
}
strong, b {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #e9ebea;
  margin: 32px 0;
}

/* --- BRAND FONTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #024873;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
h5, h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p {
  margin-bottom: 1em;
}

/* --- TYPOGRAPHY SCALE --- */
.text-section,
.text-image-section {
  font-size: 1.06rem;
}
blockquote {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.13rem;
  color: #274e13;
  font-style: italic;
  margin-bottom: 12px;
  padding-left: 18px;
  border-left: 5px solid #74b06c;
}

/* --- COLOR PALETTE (NATURE ORGANIC) --- */
:root {
  --nature-primary: #024873;      /* Brand Primary (deep blue-green) */
  --nature-secondary: #007C96;   /* Brand Secondary (ocean teal) */
  --nature-accent: #F8F8F8;      /* Brand Accent (off-white) */
  --nature-green: #74b06c;       /* Fresh natural green */
  --nature-olive: #b6a476;       /* Muted organic olive */
  --nature-sand: #ede7db;        /* Very light earth/sand */
  --nature-brown: #a37a50;       /* Earth brown */
  --nature-dark: #2b2f2b;        /* Charcoal for headings/text */
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--nature-accent);
  border-radius: 32px 64px 42px 28px / 32px 8px 42px 32px;
  box-shadow: 0 4px 16px 0 rgba(76,120,80,0.08);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
    border-radius: 22px 32px 18px 18px / 16px 6px 20px 18px;
  }
  .container {
    padding: 0 8px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #f7f6f2;
  box-shadow: 0 2px 12px -8px #72a77730;
  z-index: 30;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.main-nav a {
  color: #26482a;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #ede7db;
  color: var(--nature-primary);
  box-shadow: 0 2px 8px 0 #b6a47615;
}
.main-nav .cta-primary {
  background: var(--nature-green);
  color: #fff;
  font-weight: 700;
  padding: 10px 28px;
  margin-left: 16px;
  border: none;
  border-radius: 32px 54px 36px 28px / 32px 14px 22px 18px;
  box-shadow: 0 2px 20px -12px #74b06c66;
  transition: background 0.18s, box-shadow 0.2s, color 0.18s;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: var(--nature-primary);
  color: #fff;
  box-shadow: 0 3px 18px 0 #02487339;
}
.main-nav img {
  height: 40px;
  margin-right: 18px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--nature-green);
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px;
  border: none;
  border-radius: 50%;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 80;
  transition: background 0.2s;
  cursor: pointer;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--nature-primary);
  color: #fff;
}
@media (max-width:1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(145deg,#f8faf7 85%,#ede7db 100%);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.65,-0.01,.24,.99);
  box-shadow: 2px 0 24px 0 #555e273a;
  padding-top: 32px;
  will-change: transform;
  overscroll-behavior: contain;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.6rem;
  color: var(--nature-primary);
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 210;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--nature-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 56px;
  width: 100%;
  align-items: flex-start;
  padding-left: 42px;
}
.mobile-nav a {
  color: #274e13;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0;
  margin-bottom: 10px;
  transition: color 0.17s, background 0.17s;
  border-radius: 22px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--nature-green);
  background: #ede7db90;
  padding-left: 10px;
}
@media (min-width:1001px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(75deg,#f7f6f2 85%,#ede7db 100%);
  margin-bottom: 60px;
  padding: 0 0 40px 0;
  border-radius: 0 0 54px 54px / 0 0 36px 36px;
  box-shadow: 0 4px 32px 0 #b6a47618;
  min-height: 340px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 14px;
  padding-top: 44px;
  max-width: 630px;
}
.hero h1 {
  color: var(--nature-primary);
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.hero p {
  color: #537337;
  font-weight: 400;
}

/* --- BUTTONS --- */
.cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  font-size: 1.13rem;
  font-weight: 700;
  border: none;
  border-radius: 32px 54px 36px 28px / 32px 14px 22px 18px;
  padding: 12px 36px;
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, box-shadow 0.18s, transform 0.15s;
  box-shadow: 0 1.5px 8px 0 #74b06c55;
  background: var(--nature-green);
  color: #fff;
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--nature-primary);
  color: #fff;
  box-shadow: 0 6px 28px -12px #02487360;
  transform: translateY(-1px) scale(1.028);
}
.cta-secondary {
  background: #fff;
  color: var(--nature-green);
  border: 2px solid var(--nature-green);
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--nature-green);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 18px 0 #74b06c33;
  transform: translateY(-2px) scale(1.055);
}

/* --- FLEX & CARD LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 32px 38px 24px 24px / 32px 14px 16px 20px;
  box-shadow: 0 4px 14px 0 #b6a47622;
  padding: 24px 18px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 28px -2px #02487333;
  transform: translateY(-3px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: 768px) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- SERVICE LISTS --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: 25px 40px 25px 25px / 20px 11px 18px 17px;
  box-shadow: 0 2px 14px 0 #b6a4761c;
  padding: 24px 16px 20px 16px;
  min-width: 230px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, background 0.14s;
  border-left: 6px solid var(--nature-green);
}
.service-item:hover {
  box-shadow: 0 8px 28px -6px #02487333;
  background: #ede7db77;
}
.service-item h2,
.service-item h3 {
  font-size: 1.22rem;
  margin-bottom: 4px;
}
.service-item .price {
  color: var(--nature-green);
  font-weight: 700;
  background: #edf9ee;
  padding: 3px 14px;
  border-radius: 16px;
  font-size: 1em;
  margin-top: 6px;
}
@media (max-width: 650px) {
  .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .service-item {
    min-width: 0;
    flex: 1 1 100%;
    width: 100%;
  }
}

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

/* --- PROCESS, TIMELINE, OL/UL STYLES --- */
ol,
ul {
  margin-bottom: 14px;
  padding-left: 0;
}
ol li,
ul li {
  margin-bottom: 12px;
  font-size: 1rem;
}
ol {
  counter-reset: sectioncounter;
}
ol > li {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
}
ol > li:before {
  counter-increment: sectioncounter;
  content: counter(sectioncounter) '.';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 1.08em;
  color: var(--nature-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
ul > li strong {
  color: var(--nature-green);
  font-weight: 700;
}
.timeline ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  margin-bottom: 18px;
}
.timeline li {
  background: #edf9ee;
  border-radius: 18px;
  padding: 7px 18px;
  margin-bottom: 0;
  font-size: 1.02rem;
  color: #274e13;
}
.timeline li span {
  color: #b6a476;
  font-weight: bold;
  margin-right: 8px;
}

/* --- LIST ICONS (Features, Main Index) --- */
.content-wrapper ul:not(.mobile-nav):not(.footer-nav) {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.content-wrapper ul:not(.mobile-nav):not(.footer-nav) li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.03rem;
  color: #26482a;
  padding-left: 5px;
}
.content-wrapper ul:not(.mobile-nav):not(.footer-nav) img {
  height: 28px;
  width: 28px;
  object-fit: contain;
  border-radius: 12px;
  background: #f6f0ee;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px 38px 22px 14px / 18px 14px 18px 9px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 12px 0 #b6a47622;
  color: #25411d;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: box-shadow 0.17s, background 0.13s;
}
.testimonial-card:hover {
  background: #ede7db41;
  box-shadow: 0 6px 20px 0 #02487320;
}
.testimonial-card blockquote {
  color: #25411d;
  font-size: 1.1rem;
  margin: 0 0 0 0;
  border: none;
  padding: 0;
  background: none;
}
.testimonial-meta {
  font-size: 1rem;
  color: #74b06c;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 10px;
}
.rating-summary {
  margin-top: 12px;
  color: #007C96;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #edf9ee;
  border-radius: 16px;
  padding: 10px 26px;
}
@media (max-width: 650px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 10px;
  }
  .testimonial-meta { margin-left: 0; }
}

/* --- ACHIEVEMENTS, STATISTICS --- */
.project-statistics ul,
.achievements ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.02rem;
  color: #024873;
}
.project-statistics li strong {
  color: #74b06c;
}
.achievements li {
  color: #b6a476;
  font-weight: 600;
}

/* --- FOOTER --- */
footer {
  background: #f4f4f0;
  color: #26482a;
  padding: 32px 0 0 0;
  border-radius: 36px 36px 0 0 / 28px 28px 0 0;
  box-shadow: 0 -2px 24px 0 #b6a47618;
  margin-top: 64px;
}
footer .container {
  padding-top: 10px;
  padding-bottom: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 64px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 220px;
  max-width: 260px;
}
.footer-brand img {
  height: 32px;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.98rem;
  color: #537337;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.footer-nav a {
  color: #26482a;
  font-size: 0.97rem;
  padding: 4px 0;
  border-radius: 8px;
  transition: color 0.15s, background 0.12s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--nature-green);
  background: #ede7db70;
  padding-left: 6px;
}
.footer-contact strong {
  color: var(--nature-green);
  font-weight: 700;
}
.footer-contact {
  font-size: 0.97rem;
  color: #26482a;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.footer-social a img {
  width: 24px;
  height: 24px;
  background: #edf9ee;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  box-shadow: 0 2px 8px 0 #74b06c44;
  background: #74b06c21;
}
.legal-links {
  margin-bottom: 12px;
  font-size: 0.96rem;
  color: #b6a476;
  text-align: center;
}
.legal-links a {
  color: #74b06c;
  margin-left: 8px;
  margin-right: 8px;
}
.legal-links a:hover,
.legal-links a:focus {
  color: var(--nature-primary);
  text-decoration: underline;
}
.copyright {
  color: #b6a476;
  font-size: 0.92rem;
  text-align: center;
  padding-bottom: 10px;
  margin-top: 9px;
}
@media (max-width:950px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fffdf8;
  color: #2b2f2b;
  box-shadow: 0 -4px 28px 0 #adebe874;
  border-radius: 28px 28px 0 0 / 10px 10px 0 0;
  padding: 18px 20px 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 1000;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(.73, .02, .26, .99), opacity 0.3s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}
.cookie-banner .cookie-btn {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 18px 32px 16px 14px / 12px 14px 10px 7px;
  padding: 10px 27px;
  font-size: 1.02rem;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: var(--nature-green);
  color: #fff;
  box-shadow: 0 2px 14px 0 #74b06c55;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--nature-primary);
}
.cookie-btn.reject {
  background: #ede7db;
  color: var(--nature-green);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--nature-green);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #b6a476;
  border: 2px solid #b6a476;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #b6a476;
  color: #fff;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 1100;
  background: rgba(44,44,30, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.4s;
}
.cookie-modal.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fafaf7;
  border-radius: 32px 54px 32px 16px / 32px 16px 22px 12px;
  min-width: 320px;
  max-width: 95vw;
  padding: 38px 28px 18px 28px;
  box-shadow: 0 12px 48px 4px #b6a47645;
  color: #2b2f2b;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--nature-primary);
  position: absolute;
  top: 15px; right: 24px;
  cursor: pointer;
  z-index: 2002;
}
.cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  background: #ede7db44;
  border-radius: 16px;
  padding: 12px 16px;
}
.cookie-category label {
  font-weight: 600;
  color: #25411d;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--nature-green);
  width: 22px;
  height: 22px;
}
.cookie-category.essential label {
  color: #b6a476;
  font-style: italic;
}
.cookie-category.essential input {
  display: none !important;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal-actions .cookie-btn {
  padding: 10px 32px;
  font-size: 1.07rem;
}
@media (max-width: 650px) {
  .cookie-modal-content {
    min-width: 0;
    width: 96vw;
    padding: 28px 10px 10px 10px;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  h1 {font-size: 1.6rem;}
  h2 {font-size: 1.3rem;}
  .card { padding: 14px 6px; }
}

/* --- UTILITIES & MICRO-INTERACTIONS --- */
.shadow-nature {
  box-shadow: 0 8px 32px 8px #b6a47622 !important;
}
.rounded-organic {
  border-radius: 32px 54px 36px 28px / 32px 14px 22px 18px !important;
}

/* --- ANIMATIONS --- */
@keyframes organic-in {
  0% {
    opacity: 0;
    transform: scale(0.97) translateY(22px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.section, .card, .service-item, .testimonial-card, .cookie-modal-content, .cookie-banner {
  animation: organic-in .7s cubic-bezier(.15,.85,.16,1) both;
}

/* --- NO ABSOLUTE FOR CONTENT, FLEX GAP ENFORCEMENT --- */
.card, .service-item, .testimonial-card {
  margin-bottom: 20px;
}
.section, .content-wrapper, .service-list, .card-container, .content-grid, .text-image-section,
.feature-item, .testimonial-card {
  gap: 20px;
}

/* --- GENERAL FORMS (if exist in future) --- */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 9px;
  border: solid 1.5px #ede7db;
  background: #fbfaf7;
  color: #2b2f2b;
  outline: none;
  padding: 9px 14px;
  box-shadow: 0 1px 5px 0 #b6a47613;
  transition: border 0.17s, background 0.13s;
}
input:focus, textarea:focus, select:focus { border-color: var(--nature-green); }
::-webkit-input-placeholder {color: #b6a476;}
::-moz-placeholder {color: #b6a476;}
:-ms-input-placeholder {color: #b6a476;}
::placeholder {color: #b6a476;}

/* --- END --- */
