/* ==========================================================================
   TIOO marketing — footer, cookie banner, language hint (v2 "crisp").
   Markup: public_site/mkt/_footer.html, _cookie_banner.html.
   ========================================================================== */

.mkt-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; gap: 32px 20px; grid-template-columns: 1fr 1fr; }
.footer-grid .brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 24px; } .footer-grid .brand { grid-column: auto; } }
.mkt-footer .brand img { height: 26px; width: auto; }
.mkt-footer .brand p { margin-top: 16px; max-width: 30ch; color: rgba(255,255,255,.6); font-size: 13.5px; line-height: 1.5; }
.mkt-footer .brand .demo-foot { margin-top: 20px; }
.mkt-footer .brand .demo-foot .btn { --h: 40px; font-size: 14px; }
.mkt-footer h2 { font-family: var(--font-text); font-size: 11px; font-weight: 600; color: rgba(255,255,255,.55); margin: 0 0 14px; letter-spacing: .14em; text-transform: uppercase; }
.mkt-footer li { margin-bottom: 9px; }
.mkt-footer li a { padding: 2px 0; display: inline-block; color: rgba(255,255,255,.78); }
.mkt-footer li a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer-bottom .wordmark { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 15px; letter-spacing: -0.02em; }
.footer-lang { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.footer-lang a, .footer-lang strong { padding: 4px 9px; border-radius: var(--radius-s); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.78); }
.footer-lang a:hover { border-color: #fff; color: #fff; }
.footer-lang strong { background: #fff; color: var(--ink); border-color: #fff; }

/* cookie banner (consent gates analytics; see _cookie_banner.html) */
.mkt-cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  max-width: 920px; margin: 0 auto; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-l); box-shadow: var(--shadow-l);
  font-size: 14px; color: var(--ink-2);
}
.mkt-cookie--hidden { display: none; }
.mkt-cookie p { flex: 1 1 320px; }
.mkt-cookie a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.mkt-cookie-actions { display: flex; gap: 8px; }
.mkt-cookie-actions .btn { --h: 38px; font-size: 14px; }

/* "view this page in Spanish?" hint sits above the cookie banner's slot */
.site-lang-hint { z-index: 91; }
