:root {
  --bg-primary: #fcfcfc;
  --bg-secondary: #f6f7f6;
  --bg-hero: #e2e2e4;
  --bg-card: #ffffff;
  --bg-dark: #192716;
  --bg-dark-accent: #23351f;
  --bg-banner: #82ad65;
  --text-dark: #131a12;
  --text-muted: #5f6c5b;
  --text-light-muted: #9aa896;
  --purple-highlight: #9266ae;
  --lilac-text: #baa7d6;
  --border-light: #e4e7e2;
  --border-card: #e4e7e2;
  --border-dark: rgba(255, 255, 255, 0.12);
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', sans-serif;
  --header-height: 72px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.55;
  background-color: var(--bg-primary);
  position: relative;
  width: 100%;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, a, span {
  overflow-wrap: break-word;
}

/* Accessible anchor scroll offset for sticky header */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* Typography Helpers */
.tag-number {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #556251;
}

/* Header & Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(252, 252, 252, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
  height: var(--header-height);
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  user-select: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #313e2f;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.18s ease;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: #0b1209;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Buttons */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--bg-dark);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-dark:hover {
  background-color: #263821;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(25, 39, 22, 0.22);
}

.btn-light-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--bg-banner);
  color: #111a0f;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.72rem 1.45rem;
  border-radius: 9999px;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-light-green:hover {
  background-color: #8fbc71;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(130, 173, 101, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #273324;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-ghost:hover {
  color: #000000;
  transform: translateY(1px);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--bg-hero);
  border-bottom: 1px solid #d6d8d4;
  overflow: hidden;
  width: 100%;
}

.hero-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 2rem 4rem;
  display: flex;
  align-items: center;
  position: static;
  min-height: 620px;
  width: 100%;
}

.hero-content {
  max-width: 560px;
  z-index: 2;
  position: relative;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2e392a;
  margin-bottom: 1.8rem;
}

.hero-badge .bullet {
  font-size: 0.8rem;
  line-height: 1;
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #121910;
  margin-bottom: 1.45rem;
  overflow-wrap: break-word;
}

.hero-brand {
  font-weight: 800;
}

.hero-subline {
  font-weight: 500;
}

/* Subtle horizontal marker underline under text */
.purple-highlight {
  position: relative;
  display: inline-block;
  color: inherit;
  font-weight: inherit;
  z-index: 1;
}

.purple-highlight::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 9px;
  background-color: var(--purple-highlight);
  z-index: -1;
  border-radius: 2px;
}

.mobile-only-br {
  display: none;
}

.hero-tagline {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #273424;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.hero-tagline .bullet {
  font-size: 0.8rem;
  color: #4a7c36;
  line-height: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual-col {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 67%;
  max-width: 1200px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-image-container {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  line-height: 0;
}

.hero-image-container picture {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  line-height: 0;
}

.hero-image-container img {
  width: 100%;
  height: auto;
  max-height: 645px;
  display: block;
  object-fit: contain;
  object-position: bottom right;
}

/* Sub-Hero Quick Bar */
.subhero-bar {
  border-bottom: 1px solid var(--border-light);
  background-color: #fafbfa;
  width: 100%;
}

.subhero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.15rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.subhero-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #273424;
  white-space: nowrap;
}

.subhero-item svg {
  width: 18px;
  height: 18px;
  color: #586953;
  flex-shrink: 0;
}

/* Section 01: Services */
.section-services {
  padding: 5.5rem 2rem 6.5rem;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.section-head-split {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #121910;
  margin-top: 0.6rem;
}

.section-subtext {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #586754;
  text-align: right;
  max-width: 420px;
  justify-self: end;
}



/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  width: 100%;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 2.1rem 1.9rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #cbcfc8;
  box-shadow: 0 12px 28px rgba(22, 35, 19, 0.05);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.7rem;
}

.card-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f3f5f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b3927;
}

.card-icon-badge svg {
  width: 18px;
  height: 18px;
}

.card-num {
  font-size: 0.8rem;
  font-weight: 600;
  color: #929d8f;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #141c12;
  margin-bottom: 0.8rem;
}

.card-body {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #5b6957;
  margin-bottom: 1.8rem;
}

.card-tags {
  font-size: 0.77rem;
  font-weight: 500;
  color: #7b8877;
  letter-spacing: 0.01em;
  padding-top: 1rem;
  border-top: 1px solid #f0f3ee;
}

/* Full Width Featured Service Card 07 */
.service-card-wide {
  grid-column: span 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  min-height: auto;
  gap: 2rem;
}

.service-card-wide .wide-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.service-card-wide .wide-content {
  flex: 1;
}

.service-card-wide .card-title {
  margin-bottom: 0.35rem;
}

.service-card-wide .card-body {
  margin-bottom: 0;
  font-size: 0.88rem;
  max-width: 680px;
}

.service-card-wide .wide-tags {
  font-size: 0.77rem;
  font-weight: 500;
  color: #72806e;
  text-align: right;
  line-height: 1.5;
}



/* Section 02: Approach (Dark Green) */
.section-approach {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 6.2rem 2rem;
  width: 100%;
}

.approach-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  width: 100%;
}

.approach-left .tag-number {
  color: #8da482;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.approach-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.6rem;
}

.lilac-highlight {
  color: var(--lilac-text);
}

.approach-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #a7b7a1;
  margin-bottom: 2.4rem;
  max-width: 440px;
}

/* Approach Steps on Right */
.approach-steps {
  display: flex;
  flex-direction: column;
}

.step-item {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.step-item:first-child {
  padding-top: 0;
}

.step-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-head-row {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: 0.45rem;
}

.step-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: #8da482;
  min-width: 24px;
}

.step-heading {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.step-body {
  font-size: 0.88rem;
  line-height: 1.62;
  color: #a4b39e;
  padding-left: 2.6rem;
}

/* Value Props Strip (3 Columns) */
.values-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 3.5rem 2rem;
  width: 100%;
}

.values-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  width: 100%;
}

.value-col {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.value-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #2e3a2a;
  margin-top: 0.2rem;
}

.value-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #151d13;
  margin-bottom: 0.35rem;
}

.value-text {
  font-size: 0.87rem;
  line-height: 1.55;
  color: #5d6c59;
}

/* Section 03: FAQ */
.section-faq {
  padding: 6.5rem 2rem 5.5rem;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.faq-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  width: 100%;
}

.faq-left .tag-number {
  margin-bottom: 0.9rem;
  display: inline-block;
}

.faq-title {
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #121910;
  margin-bottom: 1.4rem;
}

.faq-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #576553;
  max-width: 380px;
}

/* FAQ Accordion List */
.faq-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--border-card);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-card);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.45rem 0.2rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #151d13;
  cursor: pointer;
  gap: 1.2rem;
  transition: color 0.18s ease;
  min-height: 52px;
}

.faq-question-btn:hover {
  color: #2a3c24;
}

.faq-icon-wrap {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5a47;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #556351;
  padding: 0 0.2rem;
}

.faq-item.active .faq-answer {
  max-height: 380px;
  padding-bottom: 1.45rem;
}

.faq-item.active .faq-icon-wrap {
  transform: rotate(45deg);
}

/* Section 04: Pre-Footer Banner (Full-Width) */
.section-cta-banner {
  width: 100%;
  background-color: var(--bg-banner);
  padding: 4.8rem 2rem;
  margin: 0;
}

.cta-banner-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
}

.cta-left .tag-number {
  color: #213317;
  margin-bottom: 1rem;
  display: inline-block;
  opacity: 0.9;
}

.cta-title {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111a0e;
  margin-bottom: 1.2rem;
}

.cta-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #1e2c1a;
  max-width: 520px;
}

.cta-right {
  flex-shrink: 0;
}

.section-cta-banner .btn-dark {
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  background-color: #131d10;
}

.section-cta-banner .btn-dark:hover {
  background-color: #202d1d;
}

/* Footer */
footer.site-footer {
  background-color: #ffffff;
  padding: 3.8rem 2rem 2.8rem;
  width: 100%;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contact-info {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
}

.footer-contact-info a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.footer-contact-info a:hover {
  color: var(--text-dark);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.89rem;
  font-weight: 600;
  color: #404f3d;
  transition: color 0.18s ease;
  padding: 0.3rem 0;
}

.footer-links a:hover {
  color: #0d140a;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #798776;
  width: 100%;
}

/* Mobile Menu Toggle & Header Call */
.mobile-header-call-btn {
  display: none;
  background-color: #f1f4ee;
  border: 1px solid #dbe2d6;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: #273722;
  text-decoration: none;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-header-call-btn:active {
  background-color: #e2e8dd;
  transform: scale(0.92);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}

.mobile-menu-btn:focus-visible {
  outline: 2px solid #82ad65;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background-color: #ffffff;
  z-index: 100;
  padding: 1.5rem 1.4rem calc(1.5rem + env(safe-area-inset-bottom));
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-close {
  background: #f4f6f3;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  color: #333d30;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-drawer-close:active {
  background: #e2e6df;
  transform: scale(0.92);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: #1e281b;
  font-weight: 600;
  font-size: 0.96rem;
  background-color: #fafbfa;
  border: 1px solid #eef1ec;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.drawer-nav-item:active {
  background-color: #edf2eb;
  transform: scale(0.98);
}

.drawer-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a5c45;
  flex-shrink: 0;
}

.drawer-text {
  flex: 1;
  margin-left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.drawer-pill-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background-color: #e5f1dc;
  color: #3b6623;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.drawer-arrow {
  font-size: 1.2rem;
  color: #9aa896;
}

.mobile-drawer-contact-card {
  background-color: #f6f8f5;
  border: 1px solid #e5eae2;
  border-radius: 12px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.drawer-contact-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #647360;
  text-transform: uppercase;
}

.drawer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.3rem 0;
  border-radius: 6px;
  transition: opacity 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.drawer-contact-row:active {
  opacity: 0.75;
}

.drawer-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34482f;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.drawer-contact-label {
  font-size: 0.73rem;
  color: #6c7b68;
}

.drawer-contact-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #162013;
}

.mobile-drawer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
}

.drawer-footnote {
  text-align: center;
  font-size: 0.74rem;
  color: #798774;
}

/* Interactive Modal & Mobile Bottom Sheet */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 21, 12, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 2.2rem 2.2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop.open .modal-content {
  transform: translateY(0) scale(1);
}

.sheet-drag-handle {
  display: none;
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #f4f6f3;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4b5847;
  font-size: 1.35rem;
  transition: background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.modal-close-btn:active {
  background: #e6eae4;
  transform: scale(0.92);
}

.modal-header-box {
  margin-bottom: 1.4rem;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #111a0e;
  margin-top: 0.3rem;
  letter-spacing: -0.02em;
}

.modal-intro {
  font-size: 0.88rem;
  color: #586653;
  margin-top: 0.25rem;
  line-height: 1.55;
}

.modal-phone-link {
  color: #192716;
  font-weight: 700;
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #2b3927;
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--border-card);
  font-family: inherit;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  color: var(--text-dark);
  background-color: #fafbfa;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #799e61;
  box-shadow: 0 0 0 3px rgba(130, 173, 101, 0.2);
  background-color: #ffffff;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #182715;
  color: #ffffff;
  padding: 1rem 1.6rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  z-index: 200;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: calc(100vw - 4rem);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Sticky Bottom Quick-Bar (Conversion Thumb Bar) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 22px rgba(0, 0, 0, 0.08);
  transform: translateY(115%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.mobile-sticky-container {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  height: 48px;
  min-height: 48px;
  transition: transform 0.15s ease, background-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-sticky-btn:active {
  transform: scale(0.96);
}

.mobile-sticky-call {
  flex: 0 0 auto;
  padding: 0 1.25rem;
  background-color: #f1f4ee;
  color: #1a2717;
  border: 1px solid #dbe2d6;
}

.mobile-sticky-call svg {
  color: #38572b;
}

.mobile-sticky-audit {
  flex: 1;
  background-color: var(--bg-dark);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(25, 39, 22, 0.25);
}

.mobile-sticky-audit .sticky-arrow {
  color: #82ad65;
  font-size: 1.1rem;
}

/* Scroll To Top Floating Button */
.mobile-scroll-top {
  position: fixed;
  bottom: calc(5rem + env(safe-area-inset-bottom));
  right: 1.1rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-light);
  color: #273424;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 75;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.mobile-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.mobile-scroll-top:active {
  transform: scale(0.92);
}

/* ==================================================== */
/* COMPREHENSIVE RESPONSIVE BREAKPOINTS                */
/* ==================================================== */

/* 1. Large Tablets & Small Laptops (<= 1100px) */
@media (max-width: 1100px) {
  .hero-wrapper {
    padding-top: 3.5rem;
  }
  .hero-visual-col {
    width: 62%;
  }
  .approach-wrapper {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
  .faq-wrapper {
    gap: 3rem;
  }
}

/* 2. Tablets (<= 992px) */
@media (max-width: 992px) {
  header.site-header nav,
  .nav-links,
  .nav-actions .btn-dark {
    display: none;
  }
  .nav-actions {
    gap: 0.6rem;
  }
  .mobile-header-call-btn,
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 3rem 1.5rem 0;
    min-height: auto;
    gap: 1.5rem;
    overflow: hidden;
  }
  .hero-content {
    padding-bottom: 1rem;
    max-width: 100%;
  }
  .hero-visual-col {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% + 3rem);
    max-width: none;
    margin: -15px -1.5rem 0 -1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
  }
  .hero-image-container {
    max-width: 100%;
  }
  .hero-image-container img {
    max-height: 460px;
  }

  .subhero-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    padding: 1.25rem 1.5rem;
  }
  .subhero-item {
    justify-content: flex-start;
  }

  .section-services {
    padding: 4.5rem 1.5rem 5rem;
  }
  .section-head-split {
    margin-bottom: 2.8rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .service-card-wide {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .service-card-wide .wide-tags {
    text-align: left;
    white-space: normal;
  }

  .section-approach {
    padding: 5rem 1.5rem;
  }
  .approach-wrapper {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .approach-desc {
    max-width: 100%;
  }

  .values-strip {
    padding: 3rem 1.5rem;
  }
  .values-container {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .section-faq {
    padding: 5rem 1.5rem;
  }
  .faq-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .faq-desc {
    max-width: 100%;
  }

  .section-cta-banner {
    padding: 4rem 1.5rem;
  }
  .cta-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.2rem;
  }
  .cta-desc {
    max-width: 100%;
  }
}

/* 3. Small Tablets & Phablets (<= 768px) */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.25rem;
  }
  .mobile-only-br {
    display: inline;
  }
  .hero-wrapper {
    padding: 2.2rem 1.25rem 0;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    gap: 0;
  }
  .hero-content {
    padding-bottom: 0;
    max-width: 100%;
    z-index: 2;
  }
  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
    letter-spacing: -0.025em;
    line-height: 1.16;
    margin-bottom: 1.2rem;
  }
  .hero-tagline {
    margin-bottom: 1.6rem;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 0.8rem;
  }
  .hero-actions .btn-dark {
    width: 100%;
    max-width: 380px;
    padding: 0.9rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 9999px;
    justify-content: center;
  }
  .hero-actions .btn-ghost {
    width: auto;
    padding: 0.4rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #273424;
    justify-content: center;
  }
  .hero-visual-col {
    position: relative;
    width: calc(100% + 2.5rem);
    max-width: none;
    margin: -35px -1.25rem 0 -1.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
    z-index: 1;
  }
  .hero-image-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
  }
  .hero-image-container img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    object-position: bottom right;
    display: block;
  }

  /* Subhero Swipeable Track */
  .subhero-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .subhero-bar::-webkit-scrollbar {
    display: none;
  }
  .subhero-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    scroll-snap-type: x mandatory;
    width: auto;
  }
  .subhero-item {
    scroll-snap-align: start;
    flex: 0 0 auto;
    background: #ffffff;
    padding: 0.55rem 0.95rem;
    border-radius: 9999px;
    border: 1px solid var(--border-light);
    font-size: 0.82rem;
    white-space: nowrap;
  }

  /* Services Grid & Mobile Action */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-card-wide {
    grid-column: span 1;
  }


  /* Approach Stepper Mobile Timeline */
  .approach-steps {
    position: relative;
    padding-left: 1.75rem;
  }
  .approach-steps::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 15px;
    width: 2px;
    background: linear-gradient(180deg, #82ad65 0%, rgba(130, 173, 101, 0.2) 100%);
    border-radius: 2px;
  }
  .step-head-row {
    position: relative;
  }
  .step-head-row::before {
    content: "";
    position: absolute;
    left: -1.75rem;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #82ad65;
    box-shadow: 0 0 0 4px rgba(130, 173, 101, 0.25);
  }

  /* Native Mobile Bottom Sheet for Modal */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
    background-color: rgba(14, 21, 12, 0.75);
  }
  .modal-content {
    background-color: #ffffff !important;
    opacity: 1 !important;
    border-radius: 22px 22px 0 0;
    max-width: 100%;
    max-height: 88vh;
    max-height: 88dvh;
    padding: 1.25rem 1.35rem calc(1.8rem + env(safe-area-inset-bottom));
    transform: translateY(100%);
    box-shadow: 0 -8px 36px rgba(0, 0, 0, 0.35);
  }
  .modal-backdrop.open .modal-content {
    transform: translateY(0);
  }
  .sheet-drag-handle {
    display: block;
    width: 44px;
    height: 5px;
    background-color: #d1d8ce;
    border-radius: 9999px;
    margin: 0 auto 1.2rem;
  }
  .modal-close-btn {
    top: 0.9rem;
    right: 1rem;
  }

  /* Active Sticky Bottom Bar */
  .mobile-sticky-bar {
    display: block;
  }

  /* Footer safe padding for sticky bar */
  footer.site-footer {
    padding-bottom: calc(5.2rem + env(safe-area-inset-bottom));
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding-top: 1.5rem;
  }
}

/* 4. Mobile Devices (<= 520px) */
@media (max-width: 520px) {
  :root {
    --header-height: 62px;
  }

  .nav-container {
    padding: 0 1rem;
  }
  .brand-logo {
    font-size: 1.24rem;
  }
  .brand-logo-img {
    height: 30px;
  }

  .hero-wrapper {
    padding: 1.4rem 1rem 0;
  }
  .hero-title {
    font-size: clamp(1.58rem, 6.2vw, 2.05rem);
    letter-spacing: -0.025em;
    line-height: 1.16;
    margin-bottom: 1.1rem;
  }
  .purple-highlight::after {
    height: 7px;
    bottom: 2px;
  }
  .hero-tagline {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    margin-bottom: 1.35rem;
  }
  .hero-tagline .bullet {
    font-size: 0.75rem;
    color: #4a7c36;
    margin-top: 0.12rem;
    flex-shrink: 0;
  }
  .hero-actions .btn-dark {
    max-width: 100%;
    padding: 0.88rem 1.2rem;
  }
  .hero-visual-col {
    width: calc(100% + 2rem);
    max-width: none;
    margin: -25px -1rem 0 -1rem;
  }
  .hero-image-container img {
    max-height: 380px;
  }

  .subhero-container {
    padding: 0.75rem 1rem;
  }

  .section-services {
    padding: 3.2rem 1rem 3.5rem;
  }
  .section-title {
    font-size: clamp(1.7rem, 6.8vw, 2.15rem);
  }
  .service-card {
    padding: 1.4rem 1.2rem 1.3rem;
    min-height: auto;
  }
  .service-card-wide {
    padding: 1.4rem 1.2rem;
  }



  .section-approach {
    padding: 3.5rem 1rem;
  }
  .approach-title {
    font-size: clamp(1.7rem, 6.8vw, 2.15rem);
  }
  .approach-left .btn-light-green {
    width: 100%;
  }
  .step-item {
    padding: 1.25rem 0;
  }
  .step-body {
    padding-left: 0;
    margin-top: 0.35rem;
  }

  .values-strip {
    padding: 2.4rem 1rem;
  }

  .section-faq {
    padding: 3.5rem 1rem;
  }
  .faq-title {
    font-size: clamp(1.7rem, 6.8vw, 2.15rem);
  }
  .faq-question-btn {
    font-size: 0.95rem;
    padding: 1.1rem 0;
  }

  .section-cta-banner {
    padding: 3.2rem 1rem;
  }
  .cta-title {
    font-size: clamp(1.7rem, 6.8vw, 2.15rem);
  }
  .section-cta-banner .btn-dark {
    width: 100%;
  }

  footer.site-footer {
    padding: 2.6rem 1rem calc(5.2rem + env(safe-area-inset-bottom));
  }
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
  }

  .toast-msg {
    left: 1rem;
    right: 1rem;
    bottom: calc(5.2rem + env(safe-area-inset-bottom));
    max-width: none;
    font-size: 0.85rem;
    padding: 0.85rem 1.2rem;
  }
}

/* Accessible Skip to Content Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  z-index: 99999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 1rem;
}

/* Footer Link Button (Reset) */
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3b4637;
  cursor: pointer;
  transition: color 0.18s ease;
}

.footer-link-btn:hover {
  color: #0d140b;
}

.footer-legal-link,
.footer-legal-btn {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.18s ease;
}

.footer-legal-link:hover,
.footer-legal-btn:hover {
  color: #0d140b;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer-sep {
  color: #a4b0a1;
  user-select: none;
}

/* ==================================================== */
/* GDPR & FORM LEGAL NOTICE                             */
/* ==================================================== */
.form-gdpr-notice {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  text-align: left;
}

.form-gdpr-notice a {
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.form-gdpr-notice a:hover {
  color: #000000;
}

/* ==================================================== */
/* DEDICATED LEGAL PAGE (privacy.html)                  */
/* ==================================================== */
.legal-main {
  padding: 3rem 1.5rem 6rem;
  background-color: var(--bg-primary);
  min-height: 80vh;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-breadcrumb a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s ease;
}

.legal-breadcrumb a:hover {
  color: #000000;
  text-decoration: underline;
}

.legal-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2.2rem;
  margin-bottom: 2.5rem;
}

.legal-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.legal-toc {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 3rem;
}

.legal-toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}

.legal-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-toc li a {
  color: #2f402b;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.18s ease;
  display: inline-block;
}

.legal-toc li a:hover {
  color: #000000;
  transform: translateX(4px);
  text-decoration: underline;
}

.legal-section {
  margin-bottom: 3.2rem;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.legal-section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ebece9;
}

.legal-section h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #1e281b;
  margin-top: 1.6rem;
  margin-bottom: 0.75rem;
}

.legal-section p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #2f382c;
  margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: #2f382c;
  line-height: 1.72;
}

.legal-section li {
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
}

.legal-section strong {
  color: #111a0f;
}

.legal-section a {
  color: #284420;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.legal-callout {
  background-color: #f3f5f2;
  border-left: 4px solid #3c5e30;
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.4rem;
  margin: 1.4rem 0;
}

.legal-callout-warning {
  border-left-color: #82ad65;
  background-color: #f7faf5;
}

.legal-callout p:last-child,
.legal-callout ul:last-child {
  margin-bottom: 0;
}

.legal-inline-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: #284420;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  cursor: pointer;
}

.legal-inline-btn:hover {
  color: #000000;
}

/* Legal Table */
.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0 1.8rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-table th {
  background-color: var(--bg-secondary);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:hover td {
  background-color: #fafbfa;
}

/* Legal Rights Grid */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  margin: 1.2rem 0;
}

.legal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 1.2rem;
  transition: border-color 0.18s ease;
}

.legal-card:hover {
  border-color: #b7c7b0;
}

.legal-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}

.legal-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 0;
}

.legal-back-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

/* ==================================================== */
/* COOKIE CONSENT BANNER (GDPR / ePrivacy Compliant)    */
/* ==================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  z-index: 9990;
  background-color: #ffffff;
  border: 1px solid #dcdfd9;
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(17, 26, 15, 0.14);
  padding: 1.25rem 1.6rem;
  animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

.cookie-banner-content {
  flex: 1;
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.cookie-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.cookie-banner-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4b5847;
  margin: 0;
}

.cookie-banner-desc a {
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.cookie-btn-settings {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #4d5c48;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.18s ease;
}

.cookie-btn-settings:hover {
  color: #000000;
  background-color: #f1f3ef;
}

/* ==================================================== */
/* COOKIE PREFERENCES MODAL & TOGGLES                   */
/* ==================================================== */
.cookie-modal-content {
  max-width: 540px;
}

.cookie-options-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 1.8rem;
}

.cookie-option-card {
  background-color: #f8faf7;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}

.cookie-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.cookie-option-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cookie-option-title-group strong {
  font-size: 0.94rem;
  color: var(--text-dark);
}

.cookie-badge-required {
  background-color: #e5ece0;
  color: #27401e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cookie-badge-optional {
  background-color: #edf0ec;
  color: #556650;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cookie-option-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* Switch Toggle (iOS style accessible toggle) */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d1d6cd;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.switch-toggle .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

.switch-toggle input:checked + .slider {
  background-color: #35532a;
}

.switch-toggle input:focus-visible + .slider {
  outline: 2px solid #35532a;
  outline-offset: 2px;
}

.switch-toggle input:checked + .slider:before {
  transform: translateX(20px);
}

.switch-toggle.disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.switch-toggle.disabled .slider {
  background-color: #35532a;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 0.8rem;
}

/* ==================================================== */
/* MOBILE RESPONSIVENESS FOR LEGAL & COOKIES            */
/* ==================================================== */
@media (max-width: 768px) {
  .cookie-banner {
    bottom: calc(4.8rem + env(safe-area-inset-bottom));
    left: 1rem;
    right: 1rem;
    padding: 1.1rem 1.2rem;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
  }
  .cookie-banner-actions .cookie-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
  .cookie-btn-settings {
    width: 100%;
    text-align: center;
    padding: 0.45rem;
  }
  .legal-main {
    padding: 2.2rem 1rem 5rem;
  }
  .legal-title {
    font-size: 1.85rem;
  }
  .legal-toc {
    padding: 1.2rem 1.3rem;
  }
}

@media (max-width: 520px) {
  .cookie-banner {
    bottom: calc(4.6rem + env(safe-area-inset-bottom));
    padding: 1rem;
    border-radius: 14px;
  }
  .cookie-banner-title {
    font-size: 0.94rem;
  }
  .cookie-banner-desc {
    font-size: 0.82rem;
  }
  .legal-table th,
  .legal-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.82rem;
  }
}

