/**
 * Modern header + footer chrome (day / night safe)
 */

/* —— Header —— */
.eh-header {
  position: sticky;
  top: 0;
  z-index: 20000;
  isolation: isolate;
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--eh-border, #e4ebe4);
  box-shadow: 0 1px 0 rgba(24, 24, 24, 0.03);
}

[data-theme="dark"] .eh-header {
  background: rgba(18, 20, 18, 0.92);
  border-bottom-color: var(--home-border, #2a332a);
}

.eh-header__bar {
  position: relative;
  z-index: 20001;
  overflow: visible;
}

.eh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 4.25rem;
  padding-block: 0.55rem;
  position: relative;
  overflow: visible;
}

.eh-header__brand {
  flex-shrink: 0;
}

.eh-header__brand img,
.eh-header__logo-link img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.eh-header__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
  margin-right: 0.5rem;
  overflow: visible;
}

.eh-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.eh-header .primary-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.eh-header .primary-menu > li {
  position: relative;
  flex: 0 0 auto;
}

.eh-header .primary-menu > li > a {
  color: var(--eh-ink, #181818);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.15rem;
  text-decoration: none;
  position: relative;
}

@media (min-width: 1024px) {
  .eh-header .primary-menu > li > a {
    z-index: 1101;
  }
}

[data-theme="dark"] .eh-header .primary-menu > li > a {
  color: var(--home-ink, #f2f7f2);
}

.eh-header .primary-menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--eh-green, #14a800);
  transition: width 0.2s ease;
}

.eh-header .primary-menu > li > a:hover::after,
.eh-header .primary-menu .current-menu-item > a::after {
  width: 100%;
}

.eh-header .primary-menu .current-menu-item > a {
  color: var(--eh-green, #14a800);
}

.eh-header .primary-menu .eh-nav-caret {
  display: inline-block;
  width: 0.36rem;
  height: 0.36rem;
  margin-left: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  opacity: 0.55;
}

.eh-header .eh-nav-expand {
  display: none;
}

.eh-header .primary-menu > li.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
}

.eh-header .primary-menu > .menu-item-has-children > .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: min(18.75rem, calc(100vw - 24px));
  min-width: min(18.75rem, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: none !important;
  overflow: visible !important;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--eh-surface, #fff);
  border: 1px solid var(--eh-border, #e4ebe4);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
  z-index: 20010;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
  scrollbar-width: none;
}

.eh-header .primary-menu > .menu-item-has-children > .sub-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 10px;
}

.eh-header .primary-menu > .menu-item-has-children.submenu-left > .sub-menu {
  left: auto;
  right: 0;
}

.eh-header .primary-menu > .menu-item-has-children.submenu-shift > .sub-menu {
  transform: translateX(var(--eh-submenu-shift, 0px)) !important;
}

.eh-header .primary-menu > .xla-nav-cols > .sub-menu {
  width: max-content;
  min-width: 0;
  max-width: min(60rem, calc(100vw - 24px));
}

.eh-header .primary-menu > .xla-nav-cols-2 > .sub-menu { --eh-nav-cols: 2; }
.eh-header .primary-menu > .xla-nav-cols-3 > .sub-menu { --eh-nav-cols: 3; }
.eh-header .primary-menu > .xla-nav-cols-4 > .sub-menu { --eh-nav-cols: 4; }
/* Cap at 4 columns so a 5th+ item wraps to the next row instead of overflowing */
.eh-header .primary-menu > .xla-nav-cols-5 > .sub-menu { --eh-nav-cols: 4; }

.eh-header .primary-menu > .menu-item-has-children > .sub-menu::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

[data-theme="dark"] .eh-header .primary-menu > .menu-item-has-children > .sub-menu {
  background: var(--home-card, #1a1f1a);
  border-color: var(--home-border, #2a332a);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.eh-header .primary-menu > li:not(.is-open) > .sub-menu {
  display: none !important;
  pointer-events: none !important;
}

.eh-header .primary-menu > li.is-open > .sub-menu,
.eh-header:not(.eh-nav-ready) .primary-menu > li:hover > .sub-menu {
  display: block !important;
  pointer-events: auto !important;
}

.eh-header .primary-menu > li.is-open.xla-nav-cols > .sub-menu,
.eh-header:not(.eh-nav-ready) .primary-menu > li.xla-nav-cols:hover > .sub-menu {
  display: grid !important;
  grid-template-columns: repeat(var(--eh-nav-cols, 2), minmax(13.75rem, 15.5rem));
  grid-auto-flow: row;
  gap: 0.1rem 0.85rem;
  padding: 0.65rem 0.75rem;
}

@media (max-width: 1199.98px) and (min-width: 1024px) {
  .eh-header .primary-menu > li.is-open.xla-nav-cols-3 > .sub-menu,
  .eh-header .primary-menu > li.is-open.xla-nav-cols-4 > .sub-menu,
  .eh-header .primary-menu > li.is-open.xla-nav-cols-5 > .sub-menu {
    grid-template-columns: repeat(2, minmax(13.75rem, 15.5rem));
  }
}

.eh-header .primary-menu > .xla-nav-cols > .sub-menu > li {
  min-width: 0;
}

.eh-header .primary-menu .sub-menu li {
  list-style: none;
  margin: 0;
}

.eh-header .primary-menu .sub-menu a {
  display: block;
  color: var(--eh-ink, #181818);
  padding: 0.55rem 0.75rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: normal !important;
  width: auto;
  max-width: 100%;
}

.eh-header .primary-menu .sub-menu a::after,
.eh-header .primary-menu .sub-menu a::before {
  display: none !important;
  content: none !important;
}

[data-theme="dark"] .eh-header .primary-menu .sub-menu a {
  color: var(--home-ink, #f2f7f2);
}

.eh-header .primary-menu .sub-menu a:hover,
.eh-header .primary-menu .sub-menu .current-menu-item > a {
  background: var(--eh-green-soft, #e7f7e5);
  color: var(--eh-green-hover, #108a00);
}

.eh-header .primary-menu .sub-menu .menu-item-has-children {
  margin-top: 0.2rem;
}

.eh-header .primary-menu .sub-menu .menu-item-has-children > a {
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.65rem 0.75rem 0.25rem;
}

[data-theme="dark"] .eh-header .primary-menu .sub-menu .menu-item-has-children > a {
  color: #9ca3af;
}

.eh-header .primary-menu .sub-menu .menu-item-has-children > a:hover {
  background: transparent;
  color: #6b7280;
}

.eh-header .primary-menu .sub-menu .xla-nav-view-all > a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--eh-green, #14a800);
  padding: 0.5rem 0.75rem 0.45rem;
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 3;
}

.eh-header .primary-menu .sub-menu .menu-item-has-children.xla-nav-view-all > a:hover,
.eh-header .primary-menu .sub-menu .xla-nav-view-all > a:hover {
  background: var(--eh-green-soft, #e7f7e5);
  color: var(--eh-green-hover, #108a00);
}

@media (min-width: 1024px) {
  .eh-header .primary-menu .sub-menu .sub-menu {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 0 0.15rem;
    padding: 0 0 0.1rem 0.45rem;
    border: 0;
    border-left: 2px solid var(--eh-border, #e4ebe4);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  [data-theme="dark"] .eh-header .primary-menu .sub-menu .sub-menu {
    border-left-color: var(--home-border, #2a332a);
  }
}

.eh-header .primary-menu .sub-menu .sub-menu a {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.48rem 0.8rem;
}

.eh-nav-overlay {
  display: none;
}

.eh-header__toggle {
  display: none;
  order: 2;
  background: var(--eh-surface, #fff);
  border: 1px solid var(--eh-border, #e4ebe4);
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--eh-ink, #181818);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.eh-header__toggle .menu-toggle-icon {
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
  display: block;
}

.eh-header__toggle .menu-toggle-icon::before,
.eh-header__toggle .menu-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.eh-header__toggle .menu-toggle-icon::before { top: -6px; }
.eh-header__toggle .menu-toggle-icon::after { bottom: -6px; }

[data-theme="dark"] .eh-header__toggle {
  background: var(--home-card, #1a1f1a);
  border-color: var(--home-border, #2a332a);
  color: var(--home-ink, #f2f7f2);
}

@media (max-width: 1023.98px) {
  body.menu-open {
    overflow: hidden;
  }

  .eh-header__inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .eh-header__brand img,
  .eh-header__logo-link img {
    height: 36px;
    max-width: 140px;
  }

  .eh-header__toggle {
    display: inline-flex;
    margin-left: auto;
    order: 2;
    z-index: 1003;
  }

  .eh-header__toggle.is-open .menu-toggle-icon {
    background: transparent;
  }

  .eh-header__toggle.is-open .menu-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .eh-header__toggle.is-open .menu-toggle-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
  }

  .eh-header__actions {
    order: 3;
    margin-left: 0;
  }

  .eh-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 15, 0.45);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .eh-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .eh-header__nav {
    order: 4;
    position: fixed;
    top: 4.25rem;
    right: 0;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(22rem, 92vw);
    height: calc(100vh - 4.25rem);
    height: calc(100dvh - 4.25rem);
    margin: 0;
    padding: 0.75rem 1rem 1.5rem;
    background: var(--eh-surface, #fff);
    border-left: 1px solid var(--eh-border, #e4ebe4);
    box-shadow: -12px 0 32px rgba(17, 24, 39, 0.12);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1002;
    transform: translateX(110%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  [data-theme="dark"] .eh-header__nav {
    background: var(--home-card, #1a1f1a);
    border-left-color: var(--home-border, #2a332a);
  }

  .eh-header__nav.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .eh-header .primary-menu {
    display: block;
    width: 100%;
  }

  .eh-header .primary-menu > li {
    position: relative;
    display: block;
    border-bottom: 1px solid var(--eh-border, #e4ebe4);
  }

  [data-theme="dark"] .eh-header .primary-menu > li {
    border-bottom-color: var(--home-border, #2a332a);
  }

  .eh-header .primary-menu > li > a,
  .eh-header .primary-menu .menu-item-has-children {
    position: relative;
  }

  .eh-header .primary-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 2.75rem 0.75rem 0;
  }

  .eh-header .primary-menu .eh-nav-caret--inline {
    display: none;
  }

  .eh-header .eh-nav-expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0.35rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    z-index: 2;
  }

  .eh-header .eh-nav-expand .eh-nav-caret {
    margin: 0;
    transition: transform 0.16s ease;
  }

  .eh-header .is-open > .eh-nav-expand .eh-nav-caret {
    transform: translateY(2px) rotate(225deg);
  }

  .eh-header .primary-menu > .menu-item-has-children > .sub-menu,
  .eh-header .primary-menu > .xla-nav-cols > .sub-menu,
  .eh-header .primary-menu > .xla-nav-mega > .sub-menu,
  .eh-header .primary-menu .sub-menu,
  .eh-header .primary-menu .sub-menu .sub-menu {
    display: none !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0 0 0.55rem;
    padding: 0 0 0.15rem 0.75rem;
    border: 0;
    border-left: 2px solid var(--eh-border, #e4ebe4);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
    grid-template-columns: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none;
  }

  .eh-header .primary-menu .is-open > .sub-menu,
  .eh-header .primary-menu > li.is-open.xla-nav-cols > .sub-menu {
    display: block !important;
    grid-template-columns: none;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .eh-header .primary-menu .sub-menu a {
    min-height: 44px;
    padding: 0.65rem 2.5rem 0.65rem 0.2rem;
  }

  .eh-header .primary-menu .sub-menu .menu-item-has-children > a {
    pointer-events: auto;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: inherit;
    padding: 0.65rem 2.5rem 0.65rem 0.2rem;
  }

  .eh-header .primary-menu .sub-menu li {
    position: relative;
  }
}

/* —— Footer —— */
.eh-footer {
  background: #0f120f;
  color: #c5d0c4;
  padding: clamp(2.5rem, 5vw, 4rem) 0 0;
  margin-top: auto;
  border-top: 1px solid color-mix(in srgb, var(--eh-green, #14a800) 35%, transparent);
}

[data-theme="light"] .eh-footer,
:root:not([data-theme="dark"]) .eh-footer {
  background: #121712;
}

.eh-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eh-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.eh-footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--eh-green, #14a800);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.eh-footer__name {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.eh-footer__desc {
  color: #a8b5a6;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  max-width: 28rem;
}

.eh-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.eh-footer__social a {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--eh-green, #14a800) 40%, transparent);
  background: color-mix(in srgb, var(--eh-green, #14a800) 14%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d5f0d1 !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.eh-footer__social a svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.eh-footer__social a:hover {
  background: var(--eh-green, #14a800);
  border-color: var(--eh-green, #14a800);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.eh-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 0.5rem;
}

.eh-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--eh-green, #14a800);
}

.eh-footer h3 a {
  color: inherit;
  text-decoration: none;
}

.eh-footer h3 a:hover {
  color: var(--eh-green, #14a800);
}

.eh-footer__legal-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eh-footer__legal-menu li {
  margin: 0;
}

.eh-footer__links ul,
.eh-footer__menu,
.eh-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eh-footer__links li,
.eh-footer__menu li {
  margin-bottom: 0.55rem;
}

.eh-footer__links a,
.eh-footer__menu a {
  color: #a8b5a6;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.eh-footer__links a:hover,
.eh-footer__menu a:hover {
  color: var(--eh-green, #14a800);
}

.eh-footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: #a8b5a6;
}

.eh-footer__contact-list i {
  color: var(--eh-green, #14a800);
  margin-top: 0.2rem;
  width: 1rem;
  text-align: center;
}

.eh-footer__contact-list a {
  color: #d7e2d6;
  text-decoration: none;
}

.eh-footer__contact-list a:hover {
  color: var(--eh-green, #14a800);
}

.eh-footer__whatsapp i {
  color: #25d366 !important;
  font-size: 1.1rem;
}

/* Bottom bar: copyright only */
.eh-footer .eh-footer__bottom,
.eh-footer .footer-bottom,
.eh-footer__bottom {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100% !important;
  max-width: none !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding: 1.35rem 1rem 1.5rem !important;
  text-align: center;
  background: transparent !important;
  border-top: 0 !important;
  font-size: 0.85rem;
  color: #8a9788;
}

.eh-footer__copy,
.eh-footer .eh-footer__bottom p,
.eh-footer .footer-bottom p {
  margin: 0 !important;
  color: #9aa89a;
  line-height: 1.5;
  text-align: center;
  opacity: 1 !important;
}

.eh-footer__legal,
.eh-footer .eh-footer__legal,
.eh-footer .legal-links,
.eh-footer .footer-bottom .legal-links {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  gap: 0.15rem 0;
  margin: 0 auto !important;
  width: 100%;
  max-width: 52rem;
}

.eh-footer__legal a,
.eh-footer .eh-footer__legal a,
.eh-footer .legal-links a,
.eh-footer .footer-bottom .legal-links a {
  color: #c5d0c4 !important;
  text-decoration: none;
  padding: 0.2rem 0.85rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  line-height: 1.3;
  white-space: nowrap;
  font-size: 0.875rem;
  opacity: 1 !important;
  transition: color 0.2s ease;
}

.eh-footer__legal a:last-child,
.eh-footer .eh-footer__legal a:last-child,
.eh-footer .legal-links a:last-child,
.eh-footer .footer-bottom .legal-links a:last-child,
.eh-footer__legal-menu li:last-child a {
  border-right: 0;
  padding-right: 0.85rem;
}

.eh-footer__legal a:hover,
.eh-footer .eh-footer__legal a:hover,
.eh-footer .legal-links a:hover,
.eh-footer .footer-bottom .legal-links a:hover {
  color: var(--eh-green, #14a800) !important;
}

@media (max-width: 980px) {
  .eh-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .eh-footer__grid {
    grid-template-columns: 1fr;
  }

  .eh-footer__legal a,
  .eh-footer .legal-links a {
    padding: 0.35rem 0.65rem;
  }
}

/* Scroll button — theme green */
.scroll-to-top {
  background-color: var(--eh-green, #14a800) !important;
  color: #ffffff !important;
}

.scroll-to-top:hover {
  background-color: var(--eh-green-hover, #108a00) !important;
  color: #ffffff !important;
}

/* —— Global button contrast lock (home + site-wide) —— */
a.btn,
button.btn,
.btn {
  text-decoration: none;
}

a.btn-primary,
button.btn-primary,
.btn.btn-primary,
.home-page a.btn-primary,
.home-page .btn-primary,
.home-page .btn-cta,
.home-page .front-cta-buttons a.btn-primary,
.home-page .home-hero__actions a.btn-primary,
.home-page .home-hero__form-card button[type="submit"],
.home-page .home-hero__form-card .btn-submit,
.eh-header a.eh-header__cta,
.eh-header__cta {
  background-color: #14a800 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

a.btn-primary:hover,
button.btn-primary:hover,
.btn.btn-primary:hover,
.home-page a.btn-primary:hover,
.home-page .btn-primary:hover,
.home-page .btn-cta:hover,
.home-page .front-cta-buttons a.btn-primary:hover,
.home-page .home-hero__actions a.btn-primary:hover,
.eh-header a.eh-header__cta:hover {
  background-color: #108a00 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.home-page .front-cta-buttons a.btn-primary {
  background-color: #14a800 !important;
  color: #ffffff !important;
  border-color: #14a800 !important;
}

.home-page a.btn-secondary,
.home-page .btn-secondary,
.home-page .front-cta-buttons a.btn-secondary,
.home-page .home-services__more a.btn-secondary {
  color: #181818 !important;
  -webkit-text-fill-color: #181818 !important;
  border-color: #e4ebe4 !important;
  background: transparent !important;
}

[data-theme="dark"] .home-page a.btn-secondary,
[data-theme="dark"] .home-page .btn-secondary,
[data-theme="dark"] .home-page .front-cta-buttons a.btn-secondary,
[data-theme="dark"] .home-page .home-services__more a.btn-secondary {
  color: #f2f7f2 !important;
  -webkit-text-fill-color: #f2f7f2 !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.home-page a.home-hero__btn-ghost,
.home-page .home-hero__btn-ghost {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.55) !important;
  background: transparent !important;
}

.home-page a.home-hero__btn-ghost:hover,
.home-page .home-hero__btn-ghost:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Home CTA secondary — match theme pill buttons */
.home-page .front-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.home-page .front-cta-buttons .btn,
.home-page .home-hero__actions .btn,
.home-page .home-services__more .btn {
  min-height: 2.85rem;
  padding: 0.8rem 1.4rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  width: auto !important;
}

.home-page .front-cta-buttons a.btn-secondary {
  background: #ffffff !important;
  color: #181818 !important;
  -webkit-text-fill-color: #181818 !important;
  border: 2px solid rgba(24, 24, 24, 0.12) !important;
}

[data-theme="dark"] .home-page .front-cta-buttons a.btn-secondary {
  background: transparent !important;
  color: #f2f7f2 !important;
  -webkit-text-fill-color: #f2f7f2 !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.home-page .home-services__more a.btn-secondary {
  background: transparent !important;
  border: 2px solid #e4ebe4 !important;
  color: #181818 !important;
  -webkit-text-fill-color: #181818 !important;
}

[data-theme="dark"] .home-page .home-services__more a.btn-secondary {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #f2f7f2 !important;
  -webkit-text-fill-color: #f2f7f2 !important;
}

/* How it works — 6 boxes */
.home-page .front-steps-container--six,
.home-page .front-steps-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .home-page .front-steps-container--six,
  .home-page .front-steps-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-page .front-steps-container--six,
  .home-page .front-steps-container {
    grid-template-columns: 1fr;
  }
}
