footer.site-footer {
  width: 100% !important;
  padding: clamp(28px, 5vw, 72px) clamp(16px, 3.5vw, 52px) !important;
  background: transparent !important;
  color: var(--esteem-color-ink);
  font-family: var(--esteem-font-body);
}

.esteem-footer-shell {
  width: min(100%, var(--esteem-container-wide));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 68px) clamp(24px, 5vw, 72px) 24px;
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--esteem-color-lime-soft);
  overflow: hidden;
}

.esteem-footer-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr)) minmax(240px, 1.35fr);
  gap: clamp(28px, 3vw, 58px);
}

.esteem-footer-brand { max-width: 330px; }
.esteem-footer-column, .esteem-footer-contact { padding-top: 8px; }
.esteem-footer-logo { display: inline-flex; width: min(190px, 100%); margin-bottom: 28px; }
.esteem-footer-logo img { display: block; width: 100%; height: auto; }
.esteem-footer-brand h2, .esteem-footer-column h2, .esteem-footer-contact h2 {
  margin: 0 0 17px;
  font-family: var(--esteem-font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.esteem-footer-brand h2 { max-width: 330px; margin-bottom: 14px; font-size: clamp(17px, 1.7vw, 23px); letter-spacing: -.03em; line-height: 1.1; }
.esteem-footer-column h2, .esteem-footer-contact h2 {
  font-size: 14px !important;
  font-weight: var(--esteem-weight-medium, 500);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.esteem-footer-brand p { max-width: 320px; margin: 0; font-size: 14px; line-height: 1.55; color: rgba(17,17,17,.78); }
.esteem-footer-column ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.esteem-footer-column a { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: rgba(17,17,17,.84); font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.esteem-footer-column a span, .esteem-footer-cta span { display: inline-flex; width: 16px; opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
.esteem-footer-column a:hover, .esteem-footer-column a:focus-visible { color: var(--esteem-color-ink); }
.esteem-footer-column a:hover span, .esteem-footer-column a:focus-visible span { opacity: 1; transform: translateX(0); }
.esteem-footer-column a svg, .esteem-footer-cta svg { width: 16px; height: 16px; }
.esteem-footer-social { display: flex; gap: 9px; margin-top: 25px; }
.esteem-footer-social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(17,17,17,.24); border-radius: 50%; color: var(--esteem-color-ink); font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s ease, color .2s ease; }
.esteem-footer-social a:hover, .esteem-footer-social a:focus-visible { background: #111; color: var(--esteem-color-lime, #c8ff3d); }
.esteem-footer-contact { display: grid; align-content: start; }
.esteem-footer-contact-link, .esteem-footer-address { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; color: var(--esteem-color-ink); font-size: 14px; line-height: 1.45; text-decoration: none; }
.esteem-footer-address { align-items: flex-start; margin-bottom: 20px; color: rgba(17,17,17,.78); }
.esteem-footer-contact-icon { display: inline-grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(17,17,17,.1); color: var(--esteem-color-ink); }
.esteem-footer-contact-icon svg { width: 17px; height: 17px; }
.esteem-footer-contact-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.esteem-footer-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; max-width: 260px; padding: 13px 15px; border-radius: 13px; background: var(--esteem-color-ink); color: var(--esteem-color-paper); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.esteem-footer-cta span { opacity: 1; transform: none; }
.esteem-footer-cta:hover, .esteem-footer-cta:focus-visible { background: rgba(17,17,17,.82); transform: translateY(-1px); }
.esteem-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(28px, 3vw, 40px); padding: 14px 0 4px; border-top: 1px solid rgba(17,17,17,.22); color: rgba(17,17,17,.84); font-size: 13px; line-height: 1.4; }
.esteem-footer-bottom p { margin: 0; }
.esteem-footer-legal { display: inline-flex; align-items: center; justify-content: center; gap: 16px; }
.esteem-footer-legal a { color: inherit; font-weight: 600; text-decoration: none; }
.esteem-footer-legal a:hover, .esteem-footer-legal a:focus-visible { color: #111; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1199px) and (min-width: 810px) {
  .esteem-footer-grid { grid-template-columns: minmax(220px, 1.25fr) repeat(2, minmax(180px, 1fr)); }
  .esteem-footer-contact { grid-column: span 2; }
}
@media (max-width: 809px) {
  footer.site-footer { padding: 18px 12px 28px !important; }
  .esteem-footer-shell { padding: 30px 22px 20px; border-radius: 24px; }
  .esteem-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
  .esteem-footer-brand, .esteem-footer-contact { grid-column: 1 / -1; max-width: none; }
  .esteem-footer-brand h2 { max-width: 300px; }
  .esteem-footer-bottom { display: grid; align-items: start; gap: 4px; margin-top: 24px; }
}
@media (max-width: 430px) {
  .esteem-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .esteem-footer-column, .esteem-footer-contact { grid-column: auto; }
  .esteem-footer-logo { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .esteem-footer-column a, .esteem-footer-column a span, .esteem-footer-social a, .esteem-footer-cta { transition: none; }
}

/* Pricing Pre-Footer CTA Styles */
.pricing-final-wrap {
  width: 100%;
  padding: 0 0 20px;
}
.pricing-final-wrap .pricing-container {
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
}
.pricing-final {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 42px;
  border-radius: 24px;
  background: var(--esteem-color-lime, #c8ff3d);
  color: #111;
}
.pricing-final h2 {
  margin: 0;
  font-family: var(--esteem-font-heading, inherit);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.pricing-final > div > p:not(.pricing-eyebrow) {
  margin: 18px 0 0;
  color: rgba(17,17,17,.75);
  font-size: 15px;
  line-height: 1.45;
}
.pricing-eyebrow {
  margin: 0 0 14px;
  color: #39402f;
  font-family: var(--esteem-font-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.pricing-final-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 12px 0 0;
}
.pricing-final .esteem-secondary-cta {
  background: rgba(255,255,255,.38);
  border-color: rgba(17,17,17,.25);
}

@media (max-width: 1199px) and (min-width: 810px) {
  /* Tablet final CTA section style matches desktop stacked style */
}
@media (max-width: 809px) {
  .pricing-final-wrap .pricing-container {
    width: min(calc(100% - 32px), 640px);
  }
  .pricing-final {
    padding: 36px 24px;
    border-radius: 24px;
    gap: 24px;
  }
  .pricing-final-actions {
    flex-direction: column;
    width: 100%;
  }
}
