/* ==========================================================================
   TrueMed footer — multi-section (numbered nav + CTA + marquee + bottom bar).
   Brand palette: teal #1ed5c1 on site dark #0a0d14. Data is dynamic/locale-aware
   from SiteSettings + the same nav/language sources the header uses.
   ========================================================================== */
.tm-footer { background: #0a0d14; color: #eef2f1; font-family: inherit; position: relative; z-index: 0; }
.tm-footer a { color: inherit; text-decoration: none; transition: color .2s ease, padding-left .25s ease, border-color .2s ease, background .2s ease; }
.tm-footer__label { font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.45); text-transform: uppercase; margin-bottom: 22px; }

/* top grid: nav spans the left, CTA over info on the right */
.tm-footer__top { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "nav cta" "nav info"; border-bottom: 1px solid rgba(255,255,255,.1); }

/* numbered navigation */
.tm-nav { grid-area: nav; padding: 56px 56px 48px; border-right: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; }
.tm-nav__link { display: flex; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.tm-nav__link:last-child { border-bottom: none; }
.tm-nav__link:hover { color: #1ed5c1; padding-left: 10px; }
.tm-nav__link.is-active { color: #1ed5c1; }
.tm-nav__num { font-size: 11px; color: #1ed5c1; font-variant-numeric: tabular-nums; }
.tm-nav__name { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }

/* CTA — scoped under .tm-footer: `.tm-cta` is also used by the become_partner block */
.tm-footer .tm-cta { grid-area: cta; padding: 56px 56px 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.tm-footer .tm-cta__title { margin: 0 0 24px; font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.tm-footer .tm-cta__title em { font-style: normal; color: #1ed5c1; }
.tm-footer .tm-cta__btn { display: inline-flex; align-items: center; gap: 12px; background: #1ed5c1; color: #04211e !important; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 18px 32px; border-radius: 8px; }
.tm-footer .tm-cta__btn:hover { background: #3fe6d4; }
.tm-footer .tm-cta__btn svg { width: 16px; height: 16px; }

/* representations + contact */
.tm-info { grid-area: info; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px 56px 44px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.72); }
.tm-info p { margin: 0 0 10px; }
.tm-info .tm-footer__label { margin-bottom: 14px; }
.tm-info a:hover { color: #1ed5c1; }
.tm-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tm-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #eef2f1; }
.tm-social a:hover { border-color: #1ed5c1; color: #1ed5c1; }
.tm-social img { width: 18px; height: 18px; }
.tm-social svg { width: 18px; height: 18px; }

/* marquee band */
.tm-marquee { overflow: hidden; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.tm-marquee__track { display: flex; width: max-content; animation: tm-marquee 28s linear infinite; white-space: nowrap; font-size: 80px; font-weight: 800; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.5px rgba(30,213,193,.5); }
.tm-marquee__track span { padding-right: 60px; }
@keyframes tm-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tm-marquee__track { animation: none; } }

/* bottom bar */
.tm-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 56px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.tm-bottom__links { display: flex; gap: 24px; }
.tm-bottom a:hover, .tm-bottom a.is-active { color: #1ed5c1; }

@media (max-width: 900px) {
  .tm-footer__top { grid-template-columns: 1fr; grid-template-areas: "cta" "nav" "info"; }
  .tm-nav { padding: 28px 24px 8px; border-right: none; }
  .tm-footer .tm-cta { padding: 40px 24px 32px; }
  .tm-footer .tm-cta__title { font-size: 26px; }
  .tm-footer .tm-cta__btn { display: flex; justify-content: center; width: 100%; box-sizing: border-box; }
  .tm-nav__name { font-size: 20px; }
  .tm-nav__link { padding: 14px 0; }
  .tm-info { grid-template-columns: 1fr; padding: 24px; border-top: 1px solid rgba(255,255,255,.1); }
  .tm-social a { width: 44px; height: 44px; }
  .tm-marquee { padding: 20px 0; }
  .tm-marquee__track { font-size: 40px; -webkit-text-stroke: 1px rgba(30,213,193,.5); }
  .tm-bottom { flex-direction: column; gap: 12px; padding: 20px 24px; text-align: center; }
}
