/* =====================================================
   RESET & ROOTS
   ===================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #181C20;
  color: #ECEFF1;
  line-height: 1.6;
}
a {
  color: #7BC149;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3ECE6;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  display: block;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #7BC149;
  margin: 0 0 1em 0;
  padding: 0.7em 1em;
  color: #1F2D36;
  background: #F3ECE6;
}
strong, b {
  font-weight: 600;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* =====================================================
   TYPOGRAPHY & COLORS (Industrial Modern)
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  color: #F3ECE6;
  letter-spacing: 0.02em;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  color: #7BC149;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  color: #7BC149;
  margin-bottom: 8px;
}
small {
  font-size: 0.91rem!important;
}
.text-section p,
.text-section ul {
  color: #ECEFF1;
}
/* Hierarchy for .testimonial-author and detail labels */
.testimonial-author, .contact-info strong, .business-hours strong {
  font-weight: 600;
  color: #21507A;
  letter-spacing: 0.04em;
}

/* =====================================================
   CONTAINERS & SECTIONS
   ===================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 28px 6px; margin-bottom: 36px; }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}
@media (min-width: 769px) {
  .content-wrapper { gap: 32px; }
}

/* =======================================
   FLEX LAYOUTS (MANDATORY)
   ======================================= */
.card-container,
.feature-grid,
.service-grid,
.benefit-grid,
.tips-grid,
.team-members-grid,
.blog-list,
.latest-posts ul,
.testimonial-list,
.story-highlights,
.impact-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}

.card,
.feature-grid > div,
.service-grid > div,
.benefit-grid > div,
.tips-grid > div,
.team-members-grid > div,
.blog-list > article,
.latest-posts ul > li,
.testimonial-list > .testimonial-card {
  background: #22262a;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0px rgba(30,32,39,0.22), 0 1.5px 2px #10121905;
  padding: 28px 20px;
  border: 1.5px solid #43484E;
  margin-bottom: 20px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.18s;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 210px;
}
.card:hover,
.feature-grid > div:hover,
.service-grid > div:hover,
.benefit-grid > div:hover,
.tips-grid > div:hover,
.team-members-grid > div:hover,
.blog-list > article:hover {
  box-shadow: 0 4px 20px 0px #21507ACC, 0 3px 32px #10121920;
  border-color: #7BC149;
  transform: translateY(-3px) scale(1.016);
}

.card-container { gap: 24px; }
.card { margin-bottom: 20px; position: relative; }

.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; }
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F3ECE6;
  color: #22262a;
  border-radius: 14px;
  box-shadow: 0 2px 10px #0F131730;
}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .card-container, .feature-grid, .service-grid, .benefit-grid, .tips-grid, .team-members-grid, .content-grid, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* =============================
   HEADER & NAV (FLEX)
   ============================= */
header {
  background: #24272D;
  border-bottom: 2px solid #393B3E;
  box-shadow: 0 2px 14px #13181F13;
  position: sticky; top:0; z-index: 55;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px 12px 18px;
}
.main-nav {
  display: flex;
  gap: 24px;
  margin-left: 18px;
}
.main-nav a {
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.04em;
  font-size: 1.01rem;
  color: #F3ECE6;
  padding: 8px 0 8px 0;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7BC149;
  border-bottom: 2px solid #7BC149;
}
header .button {
  margin-left: 24px;
  min-width: 130px;
}

/* =============================
   MOBILE MENU (BURGER NAV)
   ============================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ECEFF1;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 18px;
  padding: 4px 6px;
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #7BC149;
  transform: scale(1.13);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,36,41,0.98);
  z-index: 1001;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(.42,1.2,.63,1), opacity 0.21s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #F3ECE6;
  align-self: flex-end;
  margin: 22px 22px 10px 0;
  cursor: pointer;
  z-index: 1101;
  transition: color 0.14s, transform 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #7BC149;
  transform: scale(1.16) rotate(90deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 42px 0 0 34px;
}
.mobile-nav a {
  font-size: 1.28rem;
  color: #ECEFF1;
  padding: 12px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7BC149;
}

@media (max-width: 1060px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 0.94rem; }
  header .button { margin-left: 12px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 12px; }
}
@media (max-width: 820px) {
  header .container {
    gap: 6px;
    flex-wrap: wrap;
  }
  header .button { font-size: 1rem; padding: 10px 18px; }
}
@media (max-width: 767px) {
  .main-nav,
  header .button.primary {
    display: none;
  }
  .mobile-menu-toggle { display: inline-block; }
  header .container { justify-content: space-between; gap: 2px; }
}

/* ========================
   BUTTONS (Industrial Modern)
   ======================== */
.button, a.button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 28px;
  border: 2px solid #7BC149;
  color: #22262a;
  background: #7BC149;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  margin-bottom: 6px;
  outline: none;
  box-shadow: 0 2px 10px #0F131738;
  letter-spacing: 0.06em;
  transition: background 0.16s, color 0.17s, box-shadow 0.21s, border-color 0.15s, transform 0.17s;
  text-transform: uppercase;
  display: inline-block;
}
.button:hover, .button:focus {
  background: #EDE9DF;
  color: #21507A;
  border-color: #21507A;
  box-shadow: 0 4px 18px #7BC14961;
  transform: translateY(-2px) scale(1.035);
}
.button.secondary {
  background: #181C20;
  color: #7BC149;
  border: 2px solid #7BC149;
}
.button.secondary:hover, .button.secondary:focus {
  background: #7BC149;
  color: #22262a;
  border-color: #F3ECE6;
}
.button:active {
  filter: brightness(0.96);
  transform: translateY(2px) scale(0.97);
}

/* =============================
   CARDS, PREVIEWS & BOX ELEMENTS
   ============================= */
.card, .feature-grid > div, .service-grid > div, .benefit-grid > div, .tips-grid > div, .team-members-grid > div, .blog-list > article, .quick-advice-box {
  min-width: 220px;
  background: #23262B;
  color: #ECEFF1;
  border-radius: 13px;
  box-shadow: 0 2px 14px #10182013;
  border: 1.5px solid #393B3E;
  padding: 22px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.16s, transform 0.17s;
}
.quick-advice {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.quick-advice-box {
  background: #7BC149;
  color: #22262A;
  box-shadow: 0 2px 16px #7BC14929;
  border: 1px solid #B8F591;
  font-weight: 500;
  border-radius: 11px;
  font-size: 1.08rem;
}

/* =============================
   FORMS (if any added later)
   ============================= */
input, textarea, select {
  padding: 10px 12px;
  border: 2px solid #33373D;
  border-radius: 8px;
  background: #1c1e22;
  color: #ECEFF1;
  font-size: 1rem;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.15s, background 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #7BC149;
  background: #23262B;
}

/* =============================
   TESTIMONIAL CARDS/LIST
   ============================= */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-card {
  background: #F3ECE6;
  color: #1B2631;
  border-radius: 14px;
  padding: 26px 24px 18px 24px;
  min-width: 240px;
  box-shadow: 0 2px 14px #6E777A1A;
  border: 1.5px solid #CED6D9;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.1rem;
}
.testimonial-card blockquote {
  color: #21507A;
  background: none;
  border-left: 3px solid #7BC149;
  padding-left: 20px;
  margin: 0 0 8px 0;
}
.testimonial-author {
  color: #22262a;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 6px;
  font-size: 1.04rem;
}

/* =============================
   STRUCTURAL ELEMENTS
   ============================= */
.text-section {
  margin-bottom: 8px;
}
.text-section ul, .text-section ol { margin-bottom: 12px; }
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
}
.latest-posts ul {
  margin: 0;
  list-style: disc inside;
  gap: 10px;
}
.latest-posts ul li a {
  color: #7BC149;
  border-bottom: 1.5px dotted #7BC14944;
  font-weight: 500;
}
.latest-posts ul li a:hover {
  color: #21507A;
  border-bottom: 1.5px solid #21507A88;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 24px;
}
.blog-list > article {
  background: #23262B;
  color: #ECEFF1;
  border: 1.5px solid #393B3E;
  box-shadow: 0 2px 10px #4649530A;
  border-radius: 13px;
  padding: 16px 18px 16px 18px;
  flex: 1 1 260px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.blog-filters {
  margin-top: 12px;
  background: #181C20;
  border-radius: 9px;
  padding: 16px;
  border: 1.3px solid #32383A;
  box-shadow: 0 2px 8px #10151B22;
}
.blog-filters ul {
  display: flex;
  gap: 16px;
}
.blog-filters ul li a {
  color: #7BC149;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.blog-filters ul li a:hover {
  color: #F3ECE6;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #181C20;
  border-top: 2px solid #43484E;
  box-shadow: 0 -2px 24px #10121916;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 36px 18px 20px 18px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #7BC149;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F3ECE6;
}
.contact-info {
  color: #98A7AE;
  font-size: 1.01rem;
  margin-bottom: 12px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
footer img[alt*="logo"],
footer img[alt*="mark"] {
  max-width: 66px;
  margin-bottom: 3px;
  filter: grayscale(100%) brightness(1.15);
}
.footer-legal { margin-top: 10px; }

@media (min-width: 769px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
  }
  .contact-info { margin-bottom: 0; }
  .footer-legal { margin-top: 0; align-self: flex-end; }
}

/* =======================
   CONTACT DETAILS / MAP
   ======================= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #23262b;
  border-radius: 10px;
  border: 1.5px solid #393B3E;
  padding: 20px 22px;
  color: #ECEFF1;
  margin-bottom: 20px;
}
.contact-details ul {
  margin: 0;
}
.map-embed {
  margin-top: 6px;
}

.business-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.06rem;
  margin-top: 10px;
}
.business-hours img {
  width: 18px;
  height: 18px;
}

/* =============================
   IMPACT & HIGHLIGHTS
   ============================= */
.impact-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 24px 0 16px 0;
}
.impact-stats li {
  background: #23262B;
  padding: 12px 26px;
  border-radius: 10px;
  color: #7BC149;
  font-weight: 700;
  font-size: 1.13rem;
  border: 1.5px solid #43484E;
}
h3.highlights {
  color: #7BC149;
}
.story-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.user-outcomes {
  background: #1C252B;
  color: #ECEFF1;
  border-left: 4px solid #7BC149;
  padding: 18px 24px 16px 20px;
  margin-top: 14px;
  border-radius: 8px;
}
.user-outcomes h4 { color: #7BC149; margin-bottom: 7px; }

/* =============================
   RESPONSIVE TYPOGRAPHY
   ============================= */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }
  h3 { font-size: 1.16rem; }
  .button, a.button { padding: 11px 16px; font-size: 0.97rem; }
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  width: 100vw;
  box-sizing: border-box;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #22262a;
  border-top: 3px solid #7BC149;
  color: #ECEFF1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 18px 20px 24px 20px;
  box-shadow: 0 -2px 24px #7BC14948;
  font-size: 1.06rem;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity 0.28s, transform 0.34s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  margin-bottom: 10px;
  color: #ECEFF1;
  line-height: 1.55;
}
.cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-buttons .button {
  margin: 0;
  min-width: 120px;
  font-size: 1rem;
}
.cookie-buttons .button.settings {
  background: #23262a;
  color: #7BC149;
  border-color: #7BC149;
}
.cookie-buttons .button.settings:hover,
.cookie-buttons .button.settings:focus {
  background: #7BC149;
  color: #23262a;
}

/* Cookie preferences modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #23262ae7;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal-backdrop.visible { display: flex; }
.cookie-modal {
  background: #181C20;
  color: #F3ECE6;
  border-radius: 18px;
  padding: 32px 20px 24px 20px;
  max-width: 410px;
  width: 94vw;
  box-shadow: 0 0 40px #21507A49, 0 12px 42px #7BC14932;
  border: 2px solid #7BC149;
  position: relative;
  animation: fadeInUpCookieModal 0.36s cubic-bezier(.3,1.17, .41, .98);
}
@keyframes fadeInUpCookieModal {
  0% { opacity: 0; transform: translateY(36px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  color: #7BC149;
  margin-bottom: 12px;
  font-size: 1.17rem;
}
.cookie-modal .cookie-categories {
  margin: 24px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  background: #23262B;
  border-radius: 9px;
  border: 1px solid #43484E;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  gap: 8px;
}
.cookie-category.essential { opacity: 0.74; pointer-events: none; }
.cookie-category label {
  font-weight: 600; color: #7BC149; cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7BC149;
  width: 20px; height: 20px;
}
.cookie-modal .cookie-buttons {
  margin-top: 22px; justify-content: flex-end; gap: 14px;
}
.cookie-modal .button {
  min-width: 110px; font-size: 0.98rem;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 18px;
  background: none; border: none;
  color: #7BC149;
  font-size: 1.70rem;
  cursor: pointer;
  transition: color 0.13s, transform 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F3ECE6; transform: scale(1.18) rotate(90deg);
}

/* =============================
   MEDIA QUERIES: Responsive tweaks
   ============================= */
@media (max-width: 600px) {
  header .container { padding: 10px 4px; }
  .button, a.button { padding: 9px 11px; font-size: 0.95rem; }
  .card, .feature-grid > div, .service-grid > div, .benefit-grid > div, .tips-grid > div, .team-members-grid > div, .blog-list > article { padding: 14px 9px; }
  .footer-nav { flex-wrap: wrap; gap: 9px; }
}

/* =============================
   CUSTOM SCROLLBAR (Modern Industrial)
   ============================= */
::-webkit-scrollbar { width: 10px; background: #1C2329; }
::-webkit-scrollbar-thumb { background: #43484E; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #7BC149; }

/* END CSS */
