/* footer.css — shared site footer.
   Mobile = tidy app-style stack: brand, contact rows, then short link grids. Desktop (responsive.css) = one compact row of columns. */
.site-footer { position: relative; overflow: hidden; background: var(--grad-night); color: var(--color-text-inverse-muted); padding-block: var(--sp-6) var(--sp-4); font-size: var(--fs-sm); border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__globe { position: absolute; right: -150px; bottom: -170px; width: 420px; height: 420px; color: rgba(255,255,255,.07); pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.site-footer .logo__text, .site-footer .logo__text span { color: var(--color-text-inverse); }
.site-footer .logo__mark { outline: 1px solid rgba(255,255,255,.28); outline-offset: 2px; border-radius: 12px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "contact" "countries" "explore"; gap: var(--sp-5); padding-bottom: var(--sp-5); }
.site-footer__brand { grid-area: brand; }
.site-footer__contact { grid-area: contact; }
.site-footer__col--countries { grid-area: countries; }
.site-footer__col--explore { grid-area: explore; }
.site-footer__tagline { margin-top: var(--sp-3); font-size: var(--fs-sm); }
.site-footer__place { display: flex; align-items: center; gap: .4rem; margin-top: var(--sp-1); font-size: var(--fs-xs); color: var(--color-blue-pale); }
.site-footer__place .icon { width: 14px; height: 14px; }
.site-footer h4 { margin-bottom: var(--sp-2); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Contact: list rows like an app's settings screen */
.contact-row { display: flex; align-items: center; gap: var(--sp-3); padding: .6rem 0; border-top: 1px solid rgba(255,255,255,.12); color: #fff; }
.contact-row:last-of-type { border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-row > .icon:first-child { width: 36px; height: 36px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.1); }
.contact-row__text { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.contact-row__text b { font-size: var(--fs-xs); font-weight: 700; }
.contact-row__text span { font-size: var(--fs-xs); color: var(--color-text-inverse-muted); overflow: hidden; text-overflow: ellipsis; }
.contact-row__chev { width: 16px; height: 16px; opacity: .5; }

/* Socials: under the brand */
.site-footer__social { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.site-footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; color: #fff; transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease); }
.site-footer__social a:active { background: rgba(255,255,255,.18); }
.site-footer__social .icon { width: 17px; height: 17px; }

/* Link lists: plain text, no boxes. Phones: countries in 3 columns, explore in 2. */
.site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--sp-3); }
.site-footer__links--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer__links a { padding: .32rem 0; font-size: var(--fs-xs); color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color var(--speed) var(--ease); }
.site-footer__links a:active { color: #fff; }
.site-footer__all { display: inline-flex; align-items: center; gap: .35rem; margin-top: var(--sp-2); font-size: var(--fs-xs); font-weight: 700; color: #fff; }
.site-footer__all .icon { width: 14px; height: 14px; stroke-width: 2.6; transition: transform var(--speed) var(--ease); }
.site-footer__all:hover .icon { transform: translateX(3px); }

/* Bottom line: © year · note · privacy */
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-2) var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,.14); font-size: var(--fs-xs); }
.site-footer__bottom a { color: #fff; }
.site-footer__note { order: 3; flex-basis: 100%; font-size: .7rem; opacity: .75; }

/* "Get the app" badge (only once play_store_url is set in _config.yml). Computers only: phones get the menu link
   and the install banner instead, and it never shows inside the app. Google's official badge file, unaltered. */
.site-footer__app { display: none; }
@media (min-width: 1024px) {
  .site-footer__app { display: grid; justify-items: start; gap: var(--sp-2); margin-top: var(--sp-5); }
  .site-footer__app-label { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
  .site-footer__app a { display: block; border-radius: 8px; transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
  .site-footer__app a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.3); }
  .site-footer__app img { display: block; width: auto; height: 46px; }
}
.is-app .site-footer__app { display: none; }
