/* Shared styles: used by every page (header, menu, footer) */
:root {
  --blue: #1d5fd1;
  --blue-dark: #0a3d9e;
  --navy: #0a1a4f;
  --gold: #f5b912;
  --yellow: #ffd200;
  --red: #e3141b;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); background: #fff; color: var(--blue); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Header */
.header-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.top-line { height: 14px; border-bottom: 2px solid var(--gold); max-width: 1200px; margin: 0 auto; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0 12px; }
.header-left, .header-right { display: flex; align-items: center; gap: 14px; }
.logo img { height: 34px; width: auto; }
.pill { display: inline-block; border-radius: 999px; font-size: 13px; font-weight: 500; padding: 8px 22px; transition: filter .2s, transform .2s; }
.pill:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pill-red { background: var(--red); color: #fff; }
.pill-yellow { background: var(--yellow); color: var(--blue); padding: 8px 26px; }
.social { display: flex; align-items: center; gap: 12px; }
.social svg { width: 17px; height: 17px; fill: var(--blue); transition: fill .2s; }
.social a:hover svg { fill: var(--gold); }
.qr img { width: 56px; height: 56px; }

/* Menu */
.nav { border-top: 2px solid var(--gold); box-shadow: 0 3px 6px rgba(0,0,0,.12); background: #fff; position: relative; z-index: 5; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.nav a { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--blue); padding: 8px 10px; transition: background .2s, color .2s; }
.nav a:hover, .nav a.active { background: var(--blue-dark); color: #fff; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 26px; height: 3px; background: var(--blue); margin: 5px 0; border-radius: 2px; }

/* Footer */
.site-footer { border-top: 8px solid var(--gold); margin-top: 6px; padding: 30px 16px 40px; }
.follow { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 15px; margin-bottom: 36px; }
.follow .social svg { fill: var(--gold); }
.follow .social a:hover svg { fill: var(--blue); }
.foot-cols { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.foot-cols h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; margin: 0 0 18px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li a { font-size: 12.5px; line-height: 1.5; }
.foot-cols li a:hover { text-decoration: underline; }
.apps-col h3 { text-align: center; }
.apps { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.apps img { width: 180px; height: auto; }
.copy { text-align: center; font-size: 11px; margin-top: 56px; }

@media (max-width: 900px) {
  .header-social, .qr { display: none; }
  .menu-btn { display: block; }
  .nav ul { display: none; flex-direction: column; }
  .nav.open ul { display: flex; }
  .nav a { padding: 12px 18px; font-size: 13px; }
  /* Footer: 2 columns, left aligned; app stores side by side across the full width */
  .foot-cols { grid-template-columns: 1fr 1fr; text-align: left; gap: 24px 16px; }
  .apps-col { grid-column: 1 / -1; }
  .apps-col h3 { text-align: left; }
  .apps { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
  .apps img { width: 150px; }
}
@media (max-width: 520px) {
  .pill-red { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Slide-in animations (only when JavaScript is running, so content never stays hidden) */
.js .reveal-left, .js .reveal-right, .js .reveal-up, .js .reveal-bottom {
  opacity: 0; transition: opacity 1s ease-out, transform 1s ease-out;
}
.js .reveal-left   { transform: translateX(-80px); }
.js .reveal-right  { transform: translateX(80px); }
.js .reveal-up     { transform: translateY(-60px); }
.js .reveal-bottom { transform: translateY(80px); }
.js .revealed { opacity: 1; transform: none; }
body { overflow-x: hidden; }
