/* ===============================
   CSS RESET & NORMALIZE (MOBILE FIRST)
=============================== */
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;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F7F7EB;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7F7EB;
  color: #215E30;
  min-height: 100vh;
  line-height: 1.56;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #215E30;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #56A68B;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}

/* ===============================
   TYPOGRAPHY (Hierarchy)
=============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #215E30;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.17;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.11rem;
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: #215E30;
}
.text-section {
  font-size: 1rem;
  color: #294d33;
}
blockquote, em, cite {
  color: #56A68B;
  margin: 20px 0 20px 5px;
  font-style: italic;
}

/* ===============================
   CONTAINER & SECTION LAYOUTS
=============================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 240px;
  background: #fff;
  margin-bottom: 20px;
  padding: 30px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(33,94,48,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 28px rgba(33,94,48,0.15);
  transform: translateY(-2px) scale(1.02);
}
.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;
  min-width: 0;
  margin-bottom: 40px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #215E30;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(33,94,48,0.11);
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px rgba(33,94,48,0.18);
  transform: translateY(-1.5px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Classic main feature grid (Advantages etc) */
.feature-grid, .service-list, .benefit-grid, .blog-preview-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-list > div, .benefit-grid > div, .blog-preview-list > article, .faq-list > * {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  padding: 22px 18px;
  border-radius: 13px;
  box-shadow: 0 1px 12px rgba(33,94,48,0.07);
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.13s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.feature-grid > div img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.feature-grid > div:hover, .service-list > div:hover, .benefit-grid > div:hover {
  box-shadow: 0 6px 32px rgba(33,94,48,0.15);
  transform: translateY(-2px) scale(1.018);
}
@media (max-width: 768px) {
  .feature-grid, .service-list, .benefit-grid, .blog-preview-list, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-list > div, .benefit-grid > div, .blog-preview-list > article {
    min-width: 0;
    width: 100%;
  }
}

.step-list {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.step-list ol {
  min-width: 180px;
  font-size: 1rem;
}
.interactive-steps {
  min-width: 210px;
  margin: 0;
  color: #215E30;
}

/* Table styles (Comparison) */
.comparison-table {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 11px rgba(33,94,48,0.10);
}
.comparison-table th, .comparison-table td {
  padding: 12px;
  text-align: left;
  color: #215E30;
  font-size: 1rem;
}
.comparison-table th {
  background: #F0F6F2;
}
.comparison-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid #E6EEE6;
}
@media (max-width: 540px) {
  .comparison-table table, .comparison-table th, .comparison-table td {
    font-size: 0.95rem;
    padding: 8px;
  }
}

/* ===============================
   HEADER & NAVIGATION (DESKTOP & MOBILE)
=============================== */
header {
  background: #fff;
  box-shadow: 0 2px 11px rgba(33,94,48,0.045);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
header img[alt="Urban Reserve"] {
  height: 38px;
  width: auto;
  margin-right: 16px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #215E30;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E6EEE6;
  color: #56A68B;
}
.cta-btn {
  background: #215E30;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 30px;
  border: none;
  border-radius: 22px;
  box-shadow: 0 1px 11px rgba(33,94,48,0.09);
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.16s, transform 0.14s;
  outline: none;
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #56A68B;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 2px 17px rgba(33,94,48,0.14);
}

/* Burger Button (mobile) */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #215E30;
  border: none;
  font-size: 2.15rem;
  padding: 7px 24px 7px 7px;
  cursor: pointer;
  border-radius: 9px;
  box-shadow: 0 0.5px 9px rgba(33,94,48,0.09);
  margin-left: auto;
  transition: background 0.16s, box-shadow 0.12s;
  z-index: 1001;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  outline: 2px solid #56A68B;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(247,247,235,0.99);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.43s cubic-bezier(0.38,0.6,0.4,1);
  box-shadow: 0 0 20px rgba(33,94,48,0.07);
  padding-top: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #215E30;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  margin: 10px 22px 8px 0;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E6EEE6;
  outline: 2px solid #56A68B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 80vw;
  max-width: 360px;
  padding: 24px 36px 24px 26px;
  background: #fff;
  height: calc(100vh - 42px);
  border-radius: 22px 0 0 22px;
  box-shadow: 0 3px 25px rgba(33,94,48,0.13);
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #215E30;
  font-size: 1.15rem;
  padding: 12px 0;
  border-radius: 7px;
  font-weight: 600;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6EEE6;
  color: #56A68B;
}

@media (max-width: 990px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 990px) {
  header .container {
    min-height: 64px;
  }
}

@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===============================
   FOOTER
=============================== */
footer {
  background: #fff;
  border-top: 1px solid #E6EEE6;
  padding: 26px 0 10px 0;
  font-size: 1rem;
  box-shadow: 0 -1px 12px rgba(33,94,48,0.04);
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #56A68B;
  font-size: 1rem;
  padding: 5px 7px;
  text-decoration: underline;
}
.brand-text {
  color: #215E30;
  font-size: 0.98rem;
  opacity: 0.82;
}

/* ===============================
   MISC: BLOG & CATEGORIES
=============================== */
.blog-preview-list > article {
  cursor: pointer;
  border-left: 4px solid #56A68B;
  background: #F0F6F2;
  box-shadow: 0 1px 7px rgba(33,94,48,0.07);
  transition: box-shadow 0.16s, background 0.12s, transform 0.13s;
}
.blog-preview-list > article:hover {
  background: #e8f5ef;
  box-shadow: 0 5px 15px rgba(33,94,48,0.09);
  transform: translateY(-1px) scale(1.01);
}
.category {
  display: inline-block;
  font-size: 0.96rem;
  font-weight: 600;
  color: #215E30;
  background: #E6EEE6;
  padding: 2px 14px;
  border-radius: 11px;
  margin-top: 10px;
  letter-spacing: 0.019em;
}
.categories-tags span {
  margin-right: 10px;
  color: #56A68B;
}

/* ===============================
   CTA BANNER, USAGE, MAP
=============================== */
.usage-info, .location-map, .sustainability-statistics, .faq-list, .featured-article {
  background: #F0F6F2;
  border-radius: 13px;
  padding: 18px 16px;
  margin-top: 20px;
  margin-bottom: 18px;
  box-shadow: 0 1px 7px rgba(33,94,48,0.07);
}

/* ===============================
   RESPONSIVE SPACING & FLEX DIRECTION
   Layouts: ensure flex-direction: column on mobile
=============================== */
@media (max-width: 768px) {
  .container, .content-wrapper {
    padding: 0 10px;
  }
  .section {
    padding: 28px 5px;
    margin-bottom: 40px;
    border-radius: 16px;
  }
  .benefit-grid, .service-list, .feature-grid, .card-container, .content-grid {
    gap: 15px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===============================
   TRANSITIONS & MICRO-ANIMATIONS
=============================== */
button, .cta-btn, a {
  transition: background 0.14s, color 0.14s, box-shadow 0.13s, transform 0.12s;
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
=============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #215E30;
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  box-shadow: 0 -2px 20px rgba(33,94,48,0.08);
  border-top: 2px solid #E6EEE6;
  z-index: 4050;
  animation: cookieslidein 0.7s cubic-bezier(0.5,0.6,0.5,1);
  font-size: 1.05rem;
}
@keyframes cookieslidein {
  from {transform: translateY(110%); opacity: 0;}
  to {transform: none; opacity: 1;}
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 4px;
}
.cookie-banner button {
  padding: 10px 30px;
  border: none;
  border-radius: 20px;
  background: #56A68B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.13s;
  box-shadow: 0 1px 8px rgba(33,94,48,0.05);
}
.cookie-banner button.cookie-reject {
  background: #E6EEE6;
  color: #215E30;
}
.cookie-banner button.cookie-settings {
  background: #215E30;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #215E30;
  color: #fff;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #56A68B;
  color: #fff;
}
@media (max-width: 570px) {
  .cookie-banner {
    font-size: 0.98rem;
    padding: 16px 6px 10px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* Cookie preferences modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4200;
  background: rgba(33,94,48,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiesmodalfade 0.3s;
}
@keyframes cookiesmodalfade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 33px 27px 22px;
  border-radius: 18px;
  max-width: 420px;
  min-width: 0;
  color: #215E30;
  box-shadow: 0 4px 32px rgba(33,94,48,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 5px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 17px;
}
.cookie-modal .cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal .cookie-option .switch {
  width: 38px; height: 20px;
  background: #E6EEE6;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-modal .cookie-option .switch input[type="checkbox"] {
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
}
.cookie-modal .cookie-option .slider {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #56A68B;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-modal .cookie-option input[type="checkbox"]:checked + .slider {
  left: 20px;
  background: #215E30;
}
.cookie-modal .cookie-option .switch.disabled {
  opacity: 0.65;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-modal button {
  padding: 8px 28px;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #56A68B;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal button.cookie-modal-close {
  position: absolute;
  top: 9px; right: 15px;
  background: none;
  color: #215E30;
  font-size: 1.6rem;
  padding: 3px 7px;
  border: none;
  cursor: pointer;
}
.cookie-modal button.cookie-modal-close:hover {
  background: #E6EEE6;
  color: #56A68B;
}
@media (max-width: 500px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 20px 7px 14px;
  }
}

/* ===============================
   GENERAL UTILITIES (Spacing, Alignment, Misc)
=============================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-18 { margin-top: 18px !important; }
.mb-18 { margin-bottom: 18px !important; }
.text-center { text-align: center !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-row { display: flex; flex-direction: row; gap: 18px; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* Ensure minimum spacing between any section/cards */
section, .section, .card, .testimonial-card, .feature-grid > div, .service-list > div, .benefit-grid > div, .blog-preview-list > article {
  margin-bottom: 20px;
}

/* ========== ACCESSIBILITY - FOCUS STYLES ========== */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid #56A68B;
  outline-offset: 2px;
  background: #E6EEE6;
}

/* ========== INTERACTIVE ELEMENTS STRESS ========== */
button, .cta-btn {
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* ========== HIDDEN + DESCRIPTIVE/INSTRUCTIONAL CLASSES ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== Z-INDEX LAYERING ON INTERACTIVES ========== */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  z-index: 3200 !important;
}

/* ========== PRINT SAFE ========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, html { background: #fff !important; color: #000 !important; }
}
