/* ================== CSS 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #faf9f7;
  color: #314126;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
button, input, textarea, select {
  font: inherit;
  box-sizing: border-box;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.59,.01,.29,1.09);
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border-style: none;
}

/* ================== BRAND FONTS & GLOBAL COLORS ================== */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
:root {
  --primary: #23364d;
  --secondary: #e7a21d;
  --accent: #f9f9f9;
  --natural-green: #5e7e47;
  --earth-brown: #8d7959;
  --nature-shadow: rgba(51,64,44,0.09);
  --nature-border: #d9cebc;
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ================== NATURE ORGANIC BACKGROUNDS & DECOR ================== */
body {
  background: var(--accent);
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fcfaf6;
  border-radius: 32px 60px 36px 22px/44px 28px 56px 44px;
  box-shadow: 0 5px 28px 0 var(--nature-shadow);
  border: 1px solid var(--nature-border);
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ================== TYPOGRAPHY HIERARCHY ================== */
h1, .thank-you h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 1px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--natural-green);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--earth-brown);
  font-weight: 500;
  margin-bottom: 6px;
}
h4, h5, h6 {
  font-family: var(--font-body);
  color: #473f36;
}
p, li, ul, a, address {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #314126;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
.text-section {
  max-width: 830px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ================== MAIN & HERO SECTION ================== */
.hero {
  background: linear-gradient(110deg, #f5eddc 50%, #e5ecda 100%);
  border-radius: 0 0 52px 48px/0 0 48px 32px;
  padding-top: 56px;
  padding-bottom: 56px;
  box-shadow: 0 8px 32px -6px var(--nature-shadow);
  margin-bottom: 62px;
  position: relative;
  display: flex;
  align-items: center;
}
.hero h1 {
  color: var(--primary);
  line-height: 1.18;
}
.hero p {
  margin-bottom: 16px;
  color: #56734a;
  font-size: 1.18rem;
}
.hero .cta {
  margin-top: 12px;
}

/* ================== FLEX SECTIONS SPACING RULES ================== */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  box-sizing: border-box;
  border-radius: 32px 50px 32px 28px/44px 28px 56px 44px;
}
.card-container, .feature-grid, .tips-grid, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.card, .feature {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px 36px 18px 26px/22px 28px 36px 20px;
  position: relative;
  padding: 28px 20px;
  box-shadow: 0 2px 16px 0 var(--nature-shadow);
  border: 1px solid var(--nature-border);
  flex: 1 1 270px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card .card-content, .feature .feature-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: center;
}
.tips-grid > div {
  background: #f1f6f0;
  border-radius: 18px 34px 18px 14px/26px 24px 30px 18px;
  box-shadow: 0 2px 10px 0 var(--nature-shadow);
  padding: 22px 16px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 210px;
}

/***** AVIS & TESTIMONIALS *****/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 22px 16px 22px 40px/22px 20px 26px 38px;
  box-shadow: 0 4px 18px 0 var(--nature-shadow);
  border: 1px solid var(--nature-border);
  flex-wrap: wrap;
}
.testimonial-card p {
  color: #3a482a;
  font-size: 1.05rem;
  margin-right: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--natural-green);
}
/***** CARD LISTS/DESCRIPTIVE COLUMNS *****/
ul, ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 0;
}
li {
  margin-bottom: 2px;
  position: relative;
  padding-left: 0;
}
li img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
  vertical-align: -5px;
  display: inline-block;
}

/***** BUTTONS & CTA *****/
.cta, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 33px 26px 20px 36px/18px 28px 24px 30px;
  background: linear-gradient(90deg, var(--secondary) 80%, #eed8aa 100%);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 3px 13px 0 var(--nature-shadow);
  margin: 10px 0;
  transition: background 0.22s cubic-bezier(.2,1.23,.83,.67), color 0.18s;
  cursor: pointer;
  letter-spacing: .5px;
  text-align: center;
}
.cta:hover, .cookie-btn:hover,
.cta:focus, .cookie-btn:focus {
  background: linear-gradient(90deg, #c68c19 90%, #d7c289 100%);
  color: #fff;
  outline: none;
}

/***** NAVIGATION & HEADER *****/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 var(--nature-shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 24px 12px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--primary);
  letter-spacing: .2px;
  padding: 8px 10px;
  border-radius: 20px;
  transition: background-color 0.16s, color 0.16s;
}
.main-nav a.cta {
  margin-left: auto;
  padding: 11px 28px;
  background: linear-gradient(90deg, var(--secondary) 80%, #eed8aa 100%);
  color: var(--primary);
  border-radius: 20px 30px 10px 22px/15px 14px 16px 15px;
  font-weight: 600;
  box-shadow: 0 2px 7px 0 var(--nature-shadow);
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: linear-gradient(90deg, #c68c19 90%, #d7c289 100%);
  color: #fff;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e5ecda;
  color: var(--natural-green);
  outline: none;
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 12px;
  border-radius: 10px;
}
/* -------- Mobile Header Menu --------- */
.mobile-menu-toggle {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 28px 24px 22px 18px/10px 14px 24px 18px;
  border: none;
  font-size: 2.3rem;
  width: 50px;
  height: 50px;
  margin: 8px 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 6px;
  z-index: 120;
  box-shadow: 0 2px 8px 0 var(--nature-shadow);
  transition: background-color 0.16s, color 0.18s;
  display: none; /* show on mobile only */
}
.main-nav, .main-nav a.cta {
  transition: none;
}

/* ================== MOBILE MENU ================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60,80,40,0.78);
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(-100vw);
  transition: transform .29s cubic-bezier(.22,.8,.58,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: #f2f7e6;
  min-width: 260px;
  max-width: 390px;
  width: 80vw;
  height: 100vh;
  box-shadow: -8px 0 28px 0 var(--nature-shadow);
  padding: 48px 26px 32px 32px;
  gap: 18px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.20rem;
  color: var(--primary);
  padding: 12px 0 12px 4px;
  border-radius: 16px 24px 14px 16px;
  font-weight: 500;
  width: 100%;
  text-align: right;
  margin-bottom: 4px;
  transition: background-color 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e7a21d0b;
  color: var(--secondary);
  outline: none;
}
.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  height: 44px;
  width: 44px;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 3px 8px 0 var(--nature-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}

/***** Hide navigation on mobile, show burger *****/
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ================== FOOTER NAVIGATION ================== */
footer {
  background: #234d2d;
  color: #fff;
  border-radius: 30px 0 0 0/24px 0 0 0;
  padding: 40px;
  margin-top: 58px;
  box-shadow: 0 -1px 16px 0 var(--nature-shadow);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.footer-nav a {
  color: #dadccd;
  padding: 6px 18px;
  background: rgba(92,127,70,0.08);
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  transition: background 0.16s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
footer address {
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 10px;
  color: #e6eac6;
  font-size: 1rem;
}
footer address div, footer address a {
  color: #f5f7ee;
  font-size: 1rem;
}
footer address a {
  text-decoration: underline;
}

/* ================== FORMS, FAQ & ADDITIONAL ELEMENTS ================== */
.contact-form ul, .contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form li img, .contact-details li img {
  margin-right: 8px;
}
.faq {
  background: #f6efe2;
  padding: 24px 20px;
  border-radius: 20px 20px 30px 30px/18px 22px 20px 20px;
  margin: 19px 0 8px 0;
  box-shadow: 0 2px 8px 0 var(--nature-shadow);
}
.faq ul {
  margin-top: 10px;
  gap: 13px;
}
.faq h3 {
  color: var(--natural-green);
  font-size: 1.2rem;
}

/***** CTA SECTION *****/
.cta-section {
  align-items: center;
  text-align: center;
  background: #e5ecda;
  border: 1.5px solid var(--natural-green);
  border-radius: 32px;
  box-shadow: 0 3px 20px 0 var(--nature-shadow);
}
.cta-section h2 {
  color: var(--primary);
}

/***** THANK YOU PAGE *****/
.thank-you {
  text-align: center;
}
.thank-you h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}
.thank-you p {
  margin-bottom: 18px;
}
.thank-you .contact-details ul {
  margin-top: 20px;
}

/***** ORGANIC SHAPE UTILITIES *****/
.organic-deco {
  background: #e5ecda;
  border-radius: 37% 63% 70% 30%/66% 36% 64% 34%;
  position: absolute;
  z-index: 0;
  opacity: 0.19;
  pointer-events: none;
}

/* ================== COOKIE CONSENT BANNER ================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #e5ecda;
  color: #3d4c34;
  box-shadow: 0 -7px 24px 0 var(--nature-shadow);
  padding: 28px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999999;
  gap: 20px;
  border-radius: 22px 22px 0 0 / 30px 30px 0 0;
  transition: transform .32s cubic-bezier(.42,.16,.41,.97), opacity 0.19s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  font-size: 1.02rem;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-btn {
  margin: 0 8px 0 0;
  font-size: 1rem;
  padding: 10px 22px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 24px 16px 16px 24px/9px 13px 11px 13px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.15s, color .16s;
  box-shadow: 0 2px 6px 0 var(--nature-shadow);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #e2e2e2;
  color: var(--primary);
  border: 1px solid #bbb;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #f4e7bf;
}

/***** COOKIE PREFERENCES MODAL *****/
.cookie-modal {
  position: fixed;
  left: 50vw;
  top: 50vh;
  transform: translate(-50%,-60%) scale(0.98);
  background: #f6efe2;
  border-radius: 30px 44px 28px 22px/22px 34px 18px 28px;
  box-shadow: 0 16px 46px 0 var(--nature-shadow);
  z-index: 1000000;
  padding: 42px 32px 36px 32px;
  width: 90vw;
  max-width: 430px;
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: slide-down-fade 0.24s cubic-bezier(.42,.16,.41,.97);
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 1.11rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
}
.cookie-category label {
  font-weight: 500;
  color: var(--natural-green);
}
.cookie-toggle {
  accent-color: var(--secondary);
  height: 18px;
  width: 36px;
}
.cookie-modal .cookie-btn {
  margin-top: 16px;
}
@keyframes slide-down-fade {
  0% { opacity: 0; transform: translate(-50%,-80%) scale(0.94);}
  100% { opacity:1; transform: translate(-50%,-60%) scale(1);}
}

/* ================== RESPONSIVE MEDIA QUERIES ================== */
@media (max-width: 900px) {
  .main-nav {
    padding: 10px 12px 5px 10px;
    gap: 11px;
  }
  .footer-nav {
    gap: 12px;
  }
  .container {
    max-width: 95vw;
    padding: 0 6px;
  }
  .feature-grid, .tips-grid, .card-container, .content-grid {
    gap: 14px;
  }
  .card, .feature {
    min-width: 180px;
    max-width: 100%;
    padding: 17px 11px;
  }
  .section, section {
    padding: 22px 10px;
    margin-bottom: 34px;
    border-radius: 24px 30px 22px 16px/30px 16px 30px 20px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 38px;
    border-radius: 0 0 40px 32px/0 0 32px 22px;
  }
  .card-container, .feature-grid, .tips-grid, .content-grid, .project-list {
    flex-direction: column;
    gap: 16px;
  }
  .card, .feature, .tips-grid > div {
    max-width: 100%;
    min-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav, footer address {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .thank-you {
    padding: 20px 0;
  }
}
@media (max-width: 460px) {
  .cookie-modal {
    padding: 18px 3vw 16px 3vw;
  }
}
@media (max-width: 399px) {
  .hero h1, .thank-you h1 {
    font-size: 1.3rem;
  }
}

/* ================== ANIMATIONS, TRANSITIONS & INTERACTIONS ================== */
section, .card, .feature, .testimonial-card, .tips-grid > div, .faq {
  transition: box-shadow .24s cubic-bezier(.5,1.19,.61,1.47), background 0.25s;
}
.card:hover, .feature:hover, .testimonial-card:hover, .tips-grid > div:hover {
  box-shadow: 0 6px 24px 0 var(--natural-green);
  background: #f5f8e8;
}
button:focus-visible, a.cta:focus-visible, .mobile-menu-toggle:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ================== NATURE ORGANIC DETAILING ================== */
section, .section {
  position: relative;
}

/***** Hide on mobile for less clutter *****/


/* ================== FOCUS STATE FORMS AND CTAs ================== */
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--secondary);
  border-color: var(--natural-green);
}

/***** Hide content overflow in containers for organic layout *****/
.container, .section, section {
  overflow: visible;
}

/***** Utility for Flexbox Gap Fallback (old browsers) *****/
@supports not (gap: 24px) {
  .card-container > *, .feature-grid > *, .content-grid > *, .tips-grid > * {
    margin-right: 24px;
    margin-bottom: 24px;
  }
}

/* ================== END OF STYLE ================== */
