/* Site-wide text contrast fixes (WCAG AA 4.5:1), 2026-11-07. Loaded on every page after eqw.min.css.
   Brand green #72BF44 stays for backgrounds and accents; it is only 2.3:1 as text on white or under white text. */

:root {
  --eqw-green-text: #3a7a1f;   /* 5.3:1 on white */
  --eqw-wa-solid: #1a7f3c;     /* 5.1:1 with white text */
}

/* 1. Green buttons and pills: navy text (7.6:1) instead of white (2.3:1) */
.eqw-hero__btn--primary,
.eqw-hero__btn--primary:hover,
.eqw-hero__btn--primary:focus,
.eqw-footer__btn--primary,
.eqw-footer__btn--primary:hover,
.eqw-footer__btn--primary:focus,
.eqw-footer__newsletter-form button,
.eqw-footer__newsletter-form button:hover,
.eqw-mobile-bar__quote,
.eqw-mobile-bar__quote:hover,
.eqw-dir-pill.is-active,
.eqw-dir-pill.is-active .eqw-dir-pill__count,
.eqw-final-cta-v2__actions .eqw-hero__btn--primary,
.eqw-final-cta-v2__actions .eqw-hero__btn--primary:hover {
  color: var(--eqw-navy, #0f1b33);
}

/* Price-card buttons that are not green keep their own text colour */
.eqw-price-card--featured .eqw-price-card__cta.eqw-hero__btn--primary,
.eqw-price-card--featured .eqw-price-card__cta.eqw-hero__btn--primary:hover { color: #fff; }
.eqw-price-card:not(.eqw-price-card--featured) .eqw-price-card__cta.eqw-hero__btn--primary { color: var(--eqw-navy, #0f1b33); }

/* 2. WhatsApp green (#25D366) under white text is 2.0:1 → darker WhatsApp green */
.eqw-contact-quick-bar__btn--wa { background-color: var(--eqw-wa-solid); border-color: var(--eqw-wa-solid); }
.eqw-mobile-bar__wa { color: var(--eqw-wa-solid); }

/* 3. Green text on white / light backgrounds → deeper brand green */
.eqw-blog-card__link,
.eqw-portfolio-card__cat a,
.eqw-portfolio-card__link,
.eqw-services-catalog-card__cta,
.eqw-services-catalog-grid--dev .eqw-services-catalog-card__cta,
.eqw-industry-card-v2__proof,
.eqw-core-addon-card__price,
.eqw-core-timeline__year,
.eqw-core-goal-card a,
.eqw-core-channel-card__link,
.eqw-core-process-card__step,
.eqw-core-founder__links a,
.eqw-portfolio-related-services a,
.eqw-portfolio-facts a,
.eqw-lp-band__lead-html a,
.eqw-price-card__label,
.eqw-pricing-table__growth th a,
.eqw-intro-v2__contrast-label,
.eqw-who-v2__definition-label,
.eqw-goal-card__link,
.eqw-portfolio__eyebrow,
.eqw-portfolio__card-action,
.eqw-portfolio__footer-link,
.eqw-blog-v2__link {
  color: var(--eqw-green-text);
}

/* 4. Default Bootstrap blue links on tinted bands were 4.2–4.3:1 */
.eqw-core-band__footer a { color: #0a58ca; }
