/* Contrast corrections for Tecnomocion only (Odoo website #2).
 * Keep the corporate red; adjust text/background pairs that failed WCAG AA.
 * No change to StageTec or Academy.
 */
html[data-website-id="2"] body.home-remix .home-cluster-head > p {
  color: #4c5967 !important;
}
html[data-website-id="2"] body.tm-network-page .network-explanation > p {
  color: #4d5560 !important;
}
html[data-website-id="2"] .footer-top .footer-brand > p,
html[data-website-id="2"] .footer-top h4,
html[data-website-id="2"] .footer-top .contact > p,
html[data-website-id="2"] .footer-top .contact > h4,
html[data-website-id="2"] .stagetec-secondary > p,
html[data-website-id="2"] .footer-bottom > span,
html[data-website-id="2"] .footer-bottom a {
  color: #a7a7a7 !important;
}
html[data-website-id="2"] .tm-footer-join > small,
html[data-website-id="2"] body.home-remix .cta-card > span,
html[data-website-id="2"] body.repairs-page .all-brands small,
html[data-website-id="2"] body.repairs-page article[data-service="ecu"] > div > small,
html[data-website-id="2"] body.file-page .file-form-heading > div > small {
  color: #ff6681 !important;
}
html[data-website-id="2"] body.repairs-page .more-categories > div > small {
  color: #5e6670 !important;
}
html[data-website-id="2"] body.repairs-page .service-list article.service > span,
html[data-website-id="2"] body.repairs-page .service-list article.service > div > p,
html[data-website-id="2"] body.repairs-page .process-line article > p,
html[data-website-id="2"] body.repairs-page .process-line .process-complete > p,
html[data-website-id="2"] body.file-page .file-process-grid article > p,
html[data-website-id="2"] body.file-page .file-assurance article > p,
html[data-website-id="2"] body.file-page article > div > p,
html[data-website-id="2"] body.file-page details > p {
  color: #626262 !important;
}
html[data-website-id="2"] body.repairs-page .service-list article.service[data-service="ecu"] > span,
html[data-website-id="2"] body.repairs-page .service-list article.service[data-service="ecu"] > div > p {
  color: #c2c2c2 !important;
}
html[data-website-id="2"] body.repairs-page .delivery-ready-label {
  color: #116d39 !important;
}
/* Native Odoo contact page: brand red #ff0000 fails with white text. */
html[data-website-id="2"] body:not(.home-remix):not(.repairs-page):not(.tm-network-page):not(.file-page) .btn_cta.btn-primary[href$="contactus"],
html[data-website-id="2"] body:not(.home-remix):not(.repairs-page):not(.tm-network-page):not(.file-page) .btn-lg.btn-primary {
  background-color: #bc0021 !important;
  border-color: #bc0021 !important;
}
html[data-website-id="2"] body:not(.home-remix):not(.repairs-page):not(.tm-network-page):not(.file-page) a[target="_blank"]:nth-child(2) {
  color: #bc0021 !important;
}

/* Native Odoo policy link: maintain readable contrast on white. */
html[data-website-id="2"] a.o_cookie_policy_link {
  color: #bc0021 !important;
}

/* Mobile readability improvements (Lighthouse audit, 2026-11-23).
   Keep the two-column footer compact while meeting touch minimums. */
@media (max-width: 768px) {
  html[data-website-id="2"] body.home-remix .newsletter-consent,
  html[data-website-id="2"] body.home-remix .newsletter-explainer,
  html[data-website-id="2"] body.home-remix .home-opportunities small,
  html[data-website-id="2"] body.home-remix .home-support li,
  html[data-website-id="2"] body.home-remix .home-light,
  html[data-website-id="2"] body.home-remix .home-solid,
  html[data-website-id="2"] body.home-remix .home-kicker,
  html[data-website-id="2"] body.home-remix .home-equipment .product .badge,
  html[data-website-id="2"] body.home-remix .home-jump a,
  html[data-website-id="2"] body.home-remix .home-hero-news,
  html[data-website-id="2"] body.home-remix .home-inline,
  html[data-website-id="2"] body.home-remix .home-tile-top,
  html[data-website-id="2"] body.home-remix .course-info small,
  html[data-website-id="2"] body.home-remix .course-stack small,
  html[data-website-id="2"] body.home-remix .product > small,
  html[data-website-id="2"] body.home-remix .rating small,
  html[data-website-id="2"] body.home-remix .quick small,
  html[data-website-id="2"] body.home-remix .training-stats small,
  html[data-website-id="2"] body.home-remix .testimonials footer span,
  html[data-website-id="2"] body.home-remix .newsletter-input-row button,
  html[data-website-id="2"] body.home-remix .cta-card .tm-review-unavailable,
  html[data-website-id="2"] #tm_editable_footer.tm-chrome-footer .footer .footer-brand p,
  html[data-website-id="2"] #tm_editable_footer.tm-chrome-footer .footer .contact > p {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  html[data-website-id="2"] #tm_editable_footer.tm-chrome-footer .footer .footer-top > div:not(.footer-brand):not(.contact) > a[href],
  html[data-website-id="2"] #tm_editable_footer.tm-chrome-footer .footer .contact > a[href] {
    display: flex !important;
    align-items: center;
    min-height: 27px;
    margin-bottom: 0 !important;
    font-size: 12px !important;
  }

  html[data-website-id="2"] #tm_editable_footer.tm-chrome-footer .footer .footer-bottom div {
    flex-wrap: wrap;
  }
}
html[data-website-id="2"] body.home-remix .cta-card .tm-review-unavailable {
  display: inline-block;
  color: #ffffff;
  opacity: .78;
}
