/* 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,
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, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
  font: inherit;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
}
body {
  min-height: 100vh;
  background: #F6F1EE;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color .2s }
button, input, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}
ul, ol {
  list-style: none;
}

/* BRAND COLORS */
:root {
  --color-primary: #24546B;
  --color-secondary: #A6B984;
  --color-accent: #F6F1EE;
  --color-electric1: #FF4387;
  --color-electric2: #FFBF00;
  --color-electric3: #21D19F;
  --color-electric4: #246BFE;
  --color-dark: #1a1c1d;
  --color-light: #F6F1EE;
  --color-card-bg: #fff;
  --box-shadow: 0 4px 20px rgba(36,84,107,0.08), 0 1.5px 8px rgba(255,67,135,0.05);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.8rem; margin-bottom: 18px; color: var(--color-electric1); }
h2 { font-size: 2.0rem; margin-bottom: 14px; color: var(--color-primary); }
h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 6px; }
p { margin-bottom: 1em; color: #23272a; }

strong { color: var(--color-electric2); font-weight: 800; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/*********** HEADER **********/
header {
  background: #fff;
  box-shadow: 0 1px 14px rgba(36,84,107,.10);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  position: relative;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: color .2s;
  padding: 8px 10px;
  border-radius: 8px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-electric1);
  background: #f7edf5;
}
.button-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--color-electric1) 60%, var(--color-electric2) 100%);
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .05em;
  padding: 12px 30px;
  border-radius: 40px;
  box-shadow: 0 4px 20px 0 rgba(254,112,89,.18);
  border: none;
  cursor: pointer;
  transition: background .23s, transform .18s, box-shadow .23s;
  outline: none;
  display: inline-block;
  margin-left: 10px;
}
.button-primary:hover,
.button-primary:focus {
  background: linear-gradient(90deg, var(--color-electric2) 40%, var(--color-electric1) 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 9px 32px -4px var(--color-electric2, #ffbf00);
}
.button-secondary {
  color: var(--color-electric1);
  background: #fff;
  border: 2px solid var(--color-electric1);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 40px;
  transition: background .2s, color .2s, border .2s;
  margin-top: 16px;
  box-shadow: 0 1.5px 9px 0 rgba(36,107,254,.05);
}
.button-secondary:hover,
.button-secondary:focus {
  background: var(--color-electric1);
  color: #fff;
  border: 2px solid #fff;
}

/*********** BURGER MENU *********/
.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--color-electric1);
  background: #fff;
  border: 2px solid var(--color-electric1);
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.22s;
  z-index: 1031;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-primary);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.36,.77,.87,.9);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 32px 32px 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--color-electric1);
  background: transparent;
  border: none;
  align-self: flex-end;
  margin-bottom: 24px;
  padding: 8px 15px;
  border-radius: 50%;
  transition: background .17s;
  cursor: pointer;
}
.mobile-menu-close:hover {
  background: var(--color-electric1);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  padding: 14px 12px;
  border-radius: 16px;
  transition: background .2s, color .2s;
  position: relative;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-electric1);
  color: #fff;
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none;
  }
}

/********* LAYOUT COMPONENTS **********/
.feature-grid,
.service-list,
.garden-services,
.core-values-grid,
.seasonal-tips-grid,
.highlighted-projects-list,
.diy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 18px;
  margin-bottom: 8px;
}
.feature-grid > div,
.service-list > div,
.garden-services > div,
.core-values-grid > div,
.seasonal-tips-grid > div,
.highlighted-projects-list > div,
.diy-list > div {
  background: var(--color-card-bg);
  border-radius: 24px;
  box-shadow: var(--box-shadow);
  padding: 32px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .21s, transform .2s;
  border: 3px solid transparent;
}
.feature-grid > div:hover,
.service-list > div:hover,
.garden-services > div:hover,
.core-values-grid > div:hover,
.seasonal-tips-grid > div:hover,
.highlighted-projects-list > div:hover,
.diy-list > div:hover {
  box-shadow: 0 6px 32px 0 rgba(255,67,135,0.08);
  border: 3px solid var(--color-electric2);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img,
.service-list img {
  height: 46px;
  width: 46px;
  margin-bottom: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--color-card-bg);
  padding: 30px 22px;
  border-radius: 18px;
  box-shadow: var(--box-shadow);
  flex: 1 1 260px;
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 24px 18px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3.5px 22px -2px rgba(36,84,107,.08);
  border-left: 6px solid var(--color-electric1);
  max-width: 470px;
  color: var(--color-dark);
  font-size: 1.06rem;
  font-weight: 600;
}
.testimonial-card p {
  color: #1A1C1D;
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-align: center;
}
.testimonial-card span {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

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

/************ BADGES, TAGS, ETC ************/
.tag {
  background: var(--color-electric3);
  color: #fff;
  font-weight: 700;
  font-size: .87rem;
  border-radius: 16px;
  padding: 3.5px 16px;
  margin-right: 9px;
  display: inline-block;
  margin-bottom: 6px;
}
.tag:nth-child(2n) {
  background: var(--color-electric2);
  color: #fff;
}

/************ LISTS & MAP SECTION ************/
ul, ol {
  margin-bottom: 1.5em;
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1.03rem;
}
ul li img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
}
.map-section {
  margin-top: 22px;
  margin-bottom: 28px;
  padding: 18px 14px;
  background: var(--color-secondary);
  border-radius: 13px;
  color: var(--color-primary);
  box-shadow: 0 2.5px 15px rgba(166,185,132,0.05);
}

/************* FOOTER **************/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 56px 0 18px;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-logo img {
  height: 50px;
}
.footer-nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-size: 1.03rem;
  padding: 3px 10px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--color-electric1);
  color: #fff;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact li {
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 8px;
}
.footer-copy {
  text-align: right;
  font-size: .97rem;
  color: #dbe8ef;
  margin-top: 13px;
}

/*************** COOKIE CONSENT BANNER ***************/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -8px 36px -12px rgba(36,84,107,.18);
  z-index: 2500;
  padding: 24px 18px 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  animation: slideUpConsent .6s cubic-bezier(.39,.58,.57,1.07) both;
}
@keyframes slideUpConsent {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-consent-banner p {
  color: #222;
  font-size: 1.06rem;
  flex: 1 1 270px;
  margin-bottom: 0;
}
.cookie-consent-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-consent-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
  min-width: 140px;
  transition: background .2s, color .2s, box-shadow .2s, border .2s;
  border: 2px solid var(--color-secondary);
}
.cookie-consent-btn.accept {
  color: #fff;
  background: var(--color-electric1);
  border: 2px solid var(--color-electric1);
  box-shadow: 0 2.5px 12px -1.5px rgba(255,67,135,0.10);
}
.cookie-consent-btn.accept:hover,
.cookie-consent-btn.accept:focus {
  background: var(--color-electric2);
  border-color: var(--color-electric2);
}
.cookie-consent-btn.reject {
  color: var(--color-electric1);
  background: #fff;
  border: 2px solid var(--color-electric1);
}
.cookie-consent-btn.reject:hover,
.cookie-consent-btn.reject:focus {
  background: var(--color-electric1);
  color: #fff;
}
.cookie-consent-btn.settings {
  color: var(--color-primary);
  background: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-consent-btn.settings:hover,
.cookie-consent-btn.settings:focus {
  background: var(--color-primary);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 84, 107, 0.24);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 34px 28px 30px 28px;
  max-width: 440px;
  box-shadow: 0 8px 44px -10px var(--color-electric2);
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 1.04rem;
}
.cookie-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-electric1);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: #ddd;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background .21s;
}
.cookie-toggle[data-enabled="true"] {
  background: var(--color-electric2);
}
.cookie-toggle-switch {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .22s;
}
.cookie-toggle[data-enabled="true"] .cookie-toggle-switch {
  left: 21px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  border-radius: 22px;
  font-weight: 700;
  cursor: pointer;
  min-width: 100px;
  font-size: 1rem;
  border: 2px solid var(--color-primary);
  background: var(--color-accent);
  color: var(--color-primary);
  transition: background .18s, color .18s, border .18s;
}
.cookie-modal-actions button.accept {
  background: var(--color-electric1);
  color: #fff;
  border-color: var(--color-electric1);
}
.cookie-modal-actions button.accept:hover,
.cookie-modal-actions button.accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}
.cookie-modal-actions button.cancel {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.cookie-modal-actions button.cancel:hover,
.cookie-modal-actions button.cancel:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Hide banner/modal on user action (use JS to toggle .open and .hide classes) */
.cookie-consent-banner.hide {
  display: none !important;
}
.cookie-modal.hide {
  display: none !important;
}

/********* RESPONSIVE **********/
@media (max-width: 1100px) {
  .container {
    max-width: 92vw;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .service-list,
  .garden-services,
  .core-values-grid,
  .seasonal-tips-grid,
  .highlighted-projects-list,
  .diy-list {
    gap: 18px;
  }
  footer .container {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.38rem; }
  section {
    padding: 32px 5px;
  }
  .feature-grid > div,
  .service-list > div,
  .garden-services > div,
  .core-values-grid > div,
  .seasonal-tips-grid > div,
  .highlighted-projects-list > div,
  .diy-list > div {
    min-width: 98vw;
    width: 100%;
    padding: 22px 10px 16px 10px;
  }
  .container {
    gap: 12px;
  }
  header .container {
    padding: 7px 6px;
  }
  .section {
    margin-bottom: 34px;
  }
  .map-section {
    padding: 8px 7px;
  }
  .testimonial-card {
    max-width: 96vw;
    padding: 16px 8px 12px 8px;
    margin: 0 0 16px 0;
  }
  .content-wrapper {
    gap: 11px;
  }
  .footer-logo {
    margin-bottom: 13px;
  }
  .footer-nav {
    gap: 13px;
  }
  .footer-contact li {
    font-size: .98rem;
  }
}
@media (max-width: 600px) {
  .footer-logo img {
    height: 38px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 5px 16px 5px;
    gap: 10px;
  }
  .cookie-consent-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .cookie-consent-btn {
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
  }
  .cookie-modal-content {
    max-width: 97vw;
    padding: 15px 7px 15px 10px;
    font-size: 1.03rem;
  }
}

/********* ANIMATIONS & HOVER EFFECTS ***********/
section, .card, .feature-grid > div, .testimonial-card, .service-list > div {
  transition: box-shadow .19s, border .17s, transform .15s;
}
a, .button-primary, .button-secondary, .cookie-consent-btn, .cookie-modal-actions button {
  transition: background .21s, color .21s, border .19s, box-shadow .19s, transform .15s;
}
.button-primary:active, .button-secondary:active {
  transform: scale(.99);
}

/* Z-INDEX FOR HEADER, MENU, COOKIE BANNER */
header {
  z-index: 1001;
  position: relative;
}
.main-nav .button-primary {
  z-index: 1051;
}
.mobile-menu,
.mobile-menu-toggle {
  z-index: 1200;
}

/********* MISC & UTILITY *********/
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-electric2);
  border-radius: 8px;
}
select, textarea {
  font-size: 1rem;
  border-radius: 6px;
  padding: 8px 12px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-primary);
}

/********* ACCESSIBILITY *********/
:focus-visible {
  outline: 2.5px solid var(--color-electric1);
  outline-offset: 2px;
}

/********* OVERRIDES FOR PAGE LAYOUT CLASSES *********/
.project-categories ul,
.featured-tips ul,
.tools-and-materials ul,
.howto-guides ol {
  padding-left: 20px;
  list-style: none;
  margin: 0;
}
.project-categories ul li,
.featured-tips ul li,
.tools-and-materials ul li,
.howto-guides ol li {
  margin-bottom: 5px;
}

/********* VISUAL HIERARCHY *********/
.section > .container > .content-wrapper > h1, 
.section > .container > .content-wrapper > h2 {
  margin-top: 5px;
  margin-bottom: 13px;
}
.section > .container > .content-wrapper > h3 {
  margin-bottom: 7px;
}

/********* ENSURE NO OVERLAP *********/
.section, .container, .content-wrapper, .feature-grid > div, .service-list > div, .garden-services > div, .highlighted-projects-list > div, .core-values-grid > div, .seasonal-tips-grid > div, .diy-list > div, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* END CSS */