/* ============================================================
   MAP Education & Visa — design layer (site-wide)
   Header, footer, loader, cursor, buttons, text styles, tokens.
   Namespaced px- so it never collides with the legacy theme.

   Visual system (landing-page-design, Part B):
   - One typeface (Geist), weights 400 / 500 / 600 only, no italics.
   - Every size lands on Tailwind's type scale, grouped into named text styles.
   - Spacing only from the 13 step table; radii only from Tailwind's set.
   - Flat backgrounds (no gradients). Navy base, white, ONE accent: electric lime.
   - Motion: cubic-bezier(.22,1,.36,1), transform and opacity only.
   ============================================================ */
:root {
  /* Navy family (primary) */
  --px-ink: #071033;
  --px-navy: #0c1a5c;
  --px-navy-2: #16278a;
  --px-navy-3: #2f4bff;
  /* Neutrals */
  --px-ivory: #f3f5fb;
  --px-paper: #ffffff;
  --px-mist: #b4bfe8;
  /* The single accent. Token names kept (gold) so every px- stylesheet inherits it. */
  --px-gold: #c8f03c;
  --px-gold-hi: #d6f65a;
  --px-gold-text: #2a47e8; /* accent role when it must be text on a light surface */
  --px-line: rgba(255, 255, 255, .14);
  --px-line-dark: rgba(12, 26, 92, .14);
  /* One typeface */
  --px-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --px-display: var(--px-body);
  --px-ease: cubic-bezier(.22, 1, .36, 1);
  /* Spacing tokens (the only allowed values) */
  --sp-0: 0;
  --sp-25: 2px;
  --sp-50: 4px;
  --sp-75: 8px;
  --sp-100: 12px;
  --sp-200: 16px;
  --sp-300: 24px;
  --sp-400: 32px;
  --sp-500: 40px;
  --sp-600: 48px;
  --sp-700: 64px;
  --sp-800: 80px;
  --sp-900: 96px;
  --px-gutter: 24px;
  --px-max: 1360px;
  --px-header-h: 72px;
  --px-section: 96px;
  --px-page: #f3f6ff;
}
@media (min-width: 1081px) { :root { --px-gutter: 40px; } }
@media (max-width: 1080px) { :root { --px-section: 80px; } }
@media (max-width: 560px) { :root { --px-gutter: 16px; --px-section: 64px; } }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body.px-site { font-family: var(--px-body); font-size: 16px; line-height: 24px; font-weight: 400; -webkit-font-smoothing: antialiased; font-style: normal; }
body.px-site.px-locked { overflow: hidden; }
.px-wrap { width: 100%; max-width: var(--px-max); margin: 0 auto; padding-left: var(--px-gutter); padding-right: var(--px-gutter); }
.px-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.px-icon { width: 1em; height: 1em; flex: none; fill: currentColor; display: inline-block; vertical-align: middle; }

/* ============================================================
   TEXT STYLES — defined once, applied by class name.
   Sizes are Tailwind scale steps; large styles step down on smaller screens.
   ============================================================ */
.heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6,
.display-1, .display-2 { margin: 0; font-weight: 600; font-style: normal; text-transform: none; text-wrap: balance; }
.title-1, .title-2, .title-3, .title-4, .title-5 { margin: 0; font-weight: 500; font-style: normal; }
.body-1, .body-2, .body-3, .body-4, .body-5, .body-6 { text-wrap: pretty; font-style: normal; }
.caption-1, .caption-2, .caption-3, .caption-4, .caption-5 { font-style: normal; text-wrap: pretty; }

.display-1 { font-size: 128px; line-height: 1; }                      /* text-9xl */
.display-2 { font-size: 72px; line-height: 1; }                       /* text-7xl */
.heading-1 { font-size: 60px; line-height: 1; }                       /* text-6xl */
.heading-2 { font-size: 48px; line-height: 1; }                       /* text-5xl */
.heading-3, .px-footer-top h2 { font-size: 36px; line-height: 40px; } /* text-4xl */
.heading-4, .px-menu-main > li > a, .px-menu-main > li > button { font-size: 30px; line-height: 36px; font-weight: 600; } /* text-3xl */
.heading-5 { font-size: 24px; line-height: 32px; }                    /* text-2xl */
.heading-6 { font-size: 20px; line-height: 28px; }                    /* text-xl */
.title-1 { font-size: 20px; line-height: 28px; }
.title-2 { font-size: 18px; line-height: 28px; }
.title-3 { font-size: 16px; line-height: 24px; }
.title-4, .px-nav > li > a, .px-drop a, .px-footer h3 { font-size: 14px; line-height: 20px; font-weight: 500; }
.title-5 { font-size: 12px; line-height: 16px; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-5, .px-menu-sub a { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6, .px-footer-grid, .px-footer ul a { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5, .px-credit { font-size: 12px; line-height: 16px; font-weight: 400; }
.button-lg { font-size: 18px; line-height: 28px; font-weight: 600; }
.button-md, .px-btn { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm, .px-btn--sm, .px-chip { font-size: 14px; line-height: 20px; font-weight: 600; }
.button-xsm { font-size: 12px; line-height: 16px; font-weight: 600; }

@media (max-width: 1080px) {
  .display-1 { font-size: 96px; }
  .heading-1 { font-size: 48px; }
  .heading-2 { font-size: 36px; line-height: 40px; }
  .heading-3, .px-footer-top h2 { font-size: 30px; line-height: 36px; }
  .heading-4 { font-size: 24px; line-height: 32px; }
}
@media (max-width: 560px) {
  .display-1 { font-size: 72px; }
  .display-2 { font-size: 60px; }
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3, .px-footer-top h2 { font-size: 24px; line-height: 32px; }
}

/* ---------- Skip link + focus ---------- */
.px-skip { position: fixed; left: 16px; top: -64px; z-index: 100001; background: var(--px-gold); color: var(--px-ink); padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; transition: top .3s var(--px-ease); }
.px-skip:focus { top: 16px; }
body.px-site :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--px-gold-hi); outline-offset: 2px; border-radius: 4px; }

/* ---------- Loader ---------- */
.px-loader { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 38%, #1a2fa8 0%, rgba(26,47,168,0) 70%), radial-gradient(50% 40% at 85% 100%, rgba(200,240,60,.16) 0%, rgba(200,240,60,0) 70%), var(--px-ink); }
.px-loader-glow { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,75,255,.45) 0%, rgba(47,75,255,0) 68%); filter: blur(24px); animation: px-glow 2.4s ease-in-out infinite; }
@keyframes px-glow { 0%, 100% { transform: scale(.9); opacity: .6; } 50% { transform: scale(1.12); opacity: 1; } }
.px-loader-inner { position: relative; display: grid; gap: 24px; justify-items: center; width: 240px; }
.px-loader img { width: 192px; height: auto; opacity: 0; transform: translateY(12px) scale(.96); animation: px-logo-in .9s var(--px-ease) .1s forwards; }
@keyframes px-logo-in { to { opacity: 1; transform: none; } }
.px-loader-bar { width: 100%; height: 2px; background: rgba(255,255,255,.14); overflow: hidden; border-radius: 2px; }
.px-loader-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--px-navy-3), var(--px-gold)); transform: scaleX(0); transform-origin: left; }
.px-loader-bar i.is-running { animation: px-load 1.4s var(--px-ease) forwards; }
@keyframes px-load { to { transform: scaleX(1); } }
.px-loader-meta { display: flex; justify-content: space-between; align-items: baseline; width: 100%; margin-top: -8px; font: 500 14px/20px var(--px-body); color: rgba(255,255,255,.7); }
.px-loader-count { font: 600 24px/32px var(--px-display); color: #fff; font-variant-numeric: tabular-nums; }
.px-loader-count::after { content: '%'; margin-left: 2px; font-size: 14px; color: var(--px-gold); }
.px-loader.is-done { pointer-events: none; }
html:not(.px-js) .px-loader { display: none; }

/* ---------- Scroll progress + grain ---------- */
.px-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 9998; transform: scaleX(0); transform-origin: left; background: var(--px-gold); pointer-events: none; }
.px-grain { position: fixed; inset: -50%; z-index: 9997; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: px-grain 1.2s steps(6) infinite; }
@keyframes px-grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- Cursor ---------- */
.px-cursor, .px-cursor-dot { position: fixed; left: 0; top: 0; z-index: 99999; pointer-events: none; border-radius: 50%; opacity: 0; }
.px-cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid var(--px-gold); transition: transform .5s var(--px-ease), background .3s, border-color .3s; }
.px-cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--px-gold); }
.px-cursor.is-link { transform: scale(1.8); background: rgba(200, 240, 60, .16); border-color: var(--px-gold-hi); }
.px-cursor.is-on, .px-cursor-dot.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .px-cursor, .px-cursor-dot { display: none; } }

/* ---------- Buttons ----------
   Glossy pill with a soft accent glow. When a button carries an arrow it sits
   in its own round chip that tilts to point up and right on hover. */
.px-btn { --bg: var(--px-gold); --fg: var(--px-ink); --chip: var(--px-ink); --chip-fg: var(--px-gold); --glow: rgba(200, 240, 60, .38);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 8px 16px; border-radius: 9999px; background: var(--bg); color: var(--fg) !important; text-decoration: none !important; border: 0; cursor: pointer; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -2px 0 rgba(7,16,51,.1), 0 12px 28px var(--glow);
  transition: color .3s var(--px-ease), transform .5s var(--px-ease), scale .3s var(--px-ease), box-shadow .5s var(--px-ease); will-change: transform; }
.px-btn:has(.px-icon, .px-arrow) { padding: 4px 4px 4px 16px; }
.px-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%); transition: transform .5s var(--px-ease); }
.px-btn:hover::before, .px-btn:focus-visible::before { transform: translateY(0); }
.px-btn:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -2px 0 rgba(7,16,51,.08), 0 18px 40px var(--glow); }
.px-btn:active { scale: .98; }
.px-btn .px-icon, .px-btn .px-arrow { box-sizing: border-box; flex: none; width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--chip); color: var(--chip-fg); transition: transform .5s var(--px-ease), background .3s var(--px-ease), color .3s var(--px-ease); }
.px-btn .px-icon { font-size: inherit; }
.px-btn:hover .px-icon, .px-btn:hover .px-arrow { transform: rotate(-45deg); }
.px-btn[disabled], .px-btn.is-loading { opacity: .6; cursor: not-allowed; pointer-events: none; }
.px-btn--ghost { --bg: rgba(255,255,255,.1); --fg: #fff; --chip: #fff; --chip-fg: var(--px-ink); --glow: rgba(7, 16, 51, .25); box-shadow: inset 0 0 0 1px rgba(255,255,255,.32), inset 0 1px 0 rgba(255,255,255,.4), 0 12px 28px var(--glow); }
.px-btn--ghost::before { background: #fff; }
.px-btn--ghost:hover { color: var(--px-ink) !important; box-shadow: inset 0 0 0 1px #fff, 0 18px 40px var(--glow); }
.px-btn--ghost:hover .px-icon, .px-btn--ghost:hover .px-arrow { background: var(--px-ink); color: var(--px-gold); }
.px-btn--dark { --bg: linear-gradient(135deg, #0c1a5c 0%, #2a47e8 100%); --fg: #fff; --chip: var(--px-gold); --chip-fg: var(--px-ink); --glow: rgba(42, 71, 232, .35); }
.px-btn--dark::before { background: var(--px-gold); }
.px-btn--dark:hover { color: var(--px-ink) !important; }
.px-btn--dark:hover .px-icon, .px-btn--dark:hover .px-arrow { background: var(--px-ink); color: var(--px-gold); }
.px-btn--sm .px-icon, .px-btn--sm .px-arrow { width: 28px; height: 28px; padding: 6px; }
.px-btn--sm { min-height: 36px; }
.px-btn--sm:has(.px-icon, .px-arrow) { padding: 4px 4px 4px 12px; }
.cs-submit, .hx-cta .px-btn { justify-content: space-between; }
@media (prefers-reduced-motion: reduce) { .px-btn:hover .px-icon, .px-btn:hover .px-arrow { transform: none; } }

/* ---------- Header: compact floating bar ---------- */
.px-header { position: fixed; z-index: 9990; top: 16px; left: 0; right: 0; width: fit-content; max-width: calc(100% - 32px); margin: 0 auto; border-radius: 9999px; background: rgba(7, 16, 51, .55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--px-line); transition: transform .5s var(--px-ease), opacity .5s var(--px-ease); }
.px-header.is-scrolled { background: rgba(7, 16, 51, .72); }
.px-header.is-hidden { transform: translateY(-96px); opacity: 0; }
.px-header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 8px 8px 16px; }
.px-logo { display: block; flex: none; }
.px-logo img { height: 32px; width: auto; display: block; }
.px-nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.px-nav > li { position: relative; }
.px-nav > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; color: rgba(255,255,255,.86) !important; text-decoration: none !important; border-radius: 9999px; transition: color .3s var(--px-ease), background .3s var(--px-ease); }
.px-nav > li > a:hover, .px-nav > li:focus-within > a { color: #fff !important; background: rgba(255,255,255,.1); }
.px-nav > li.is-current > a { color: var(--px-ink) !important; background: var(--px-gold); }
.px-caret { width: 12px; height: 12px; fill: currentColor; transition: transform .5s var(--px-ease); }
.px-nav > li:hover .px-caret, .px-nav > li:focus-within .px-caret { transform: rotate(180deg); }
.px-drop { position: absolute; left: 50%; top: calc(100% + 16px); width: 360px; padding: 8px; margin: 0; list-style: none; background: rgba(7, 16, 51, .88); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid var(--px-line); border-radius: 16px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s var(--px-ease), transform .5s var(--px-ease), visibility .3s; }
.px-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.px-nav > li:hover > .px-drop, .px-nav > li:focus-within > .px-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.px-drop a { display: block; padding: 8px 12px; color: rgba(255,255,255,.84) !important; text-decoration: none !important; border-radius: 8px; transition: background .3s var(--px-ease), color .3s var(--px-ease); }
.px-drop a:hover { background: rgba(200, 240, 60, .16); color: var(--px-gold-hi) !important; }
.px-header-cta { display: flex; align-items: center; gap: 8px; }
.px-burger { display: none; width: 40px; height: 40px; border-radius: 9999px; border: 1px solid var(--px-line); background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.px-burger span { position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--px-ease), opacity .3s var(--px-ease); }
.px-burger span:nth-child(1) { transform: translateY(-6px); }
.px-burger span:nth-child(3) { transform: translateY(6px); }
.px-burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.px-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.px-burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- Mobile menu: full height panel, strong blur ---------- */
.px-menu { position: fixed; inset: 0; z-index: 9989; background: rgba(7, 16, 51, .94); -webkit-backdrop-filter: blur(32px); backdrop-filter: blur(32px); padding: 96px var(--px-gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-16px); transition: opacity .5s var(--px-ease), transform .5s var(--px-ease), visibility 0s .5s; }
.px-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .5s var(--px-ease), transform .5s var(--px-ease), visibility 0s; }
.px-menu ul { list-style: none; margin: 0; padding: 0; }
.px-menu-main > li { border-bottom: 1px solid var(--px-line); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--px-ease), transform .5s var(--px-ease); }
.px-menu.is-open .px-menu-main > li { opacity: 1; transform: translateY(0); }
/* Links arrive in reading order, 60ms apart, capped at 400ms */
.px-menu.is-open .px-menu-main > li:nth-child(1) { transition-delay: 0ms; }
.px-menu.is-open .px-menu-main > li:nth-child(2) { transition-delay: 60ms; }
.px-menu.is-open .px-menu-main > li:nth-child(3) { transition-delay: 120ms; }
.px-menu.is-open .px-menu-main > li:nth-child(4) { transition-delay: 180ms; }
.px-menu.is-open .px-menu-main > li:nth-child(5) { transition-delay: 240ms; }
.px-menu.is-open .px-menu-main > li:nth-child(6) { transition-delay: 300ms; }
.px-menu.is-open .px-menu-main > li:nth-child(7) { transition-delay: 360ms; }
.px-menu.is-open .px-menu-main > li:nth-child(n+8) { transition-delay: 400ms; }
.px-menu-main a, .px-menu-main button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 0; background: none; border: 0; color: #fff !important; text-decoration: none !important; text-align: left; cursor: pointer; font-family: var(--px-body); }
.px-menu-main li.is-current > a { color: var(--px-gold-hi) !important; }
.px-menu-sub { display: none; padding-bottom: 8px; }
.px-menu-sub.is-open { display: block; }
.px-menu-sub a { color: var(--px-mist) !important; padding: 8px 0 8px 4px; }
.px-menu-foot { display: grid; gap: 8px; padding-top: 32px; color: var(--px-mist); font-size: 14px; line-height: 20px; }
.px-menu-foot a { color: #fff !important; text-decoration: none !important; font-weight: 500; }

@media (max-width: 1080px) {
  .px-header { width: calc(100% - 32px); }
  .px-nav, .px-header-cta .px-btn { display: none; }
  .px-burger { display: block; }
}
@media (min-width: 1081px) { .px-menu { display: none; } }

/* ---------- Footer ---------- */
.px-footer { position: relative; background: var(--px-ink); color: var(--px-mist); overflow: hidden; }
.px-footer a { color: inherit; text-decoration: none; transition: color .3s var(--px-ease); }
.px-footer a:hover { color: var(--px-gold-hi); }
.px-footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: var(--px-section) 0 48px; align-items: end; }
.px-footer-top h2 { margin: 0; color: #fff; font-weight: 600; text-transform: none; max-width: 12em; text-wrap: balance; }
.px-callback label { display: block; margin-bottom: 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--px-mist); }
.px-callback form { display: flex; gap: 8px; padding: 8px; border-radius: 9999px; transition: border-color .3s var(--px-ease); }
.px-callback form:focus-within { border-color: var(--px-gold); }
.px-callback input { flex: 1; min-width: 0; padding: 0 12px; background: none; border: 0; outline: 0; color: #fff; font: 400 16px/24px var(--px-body); }
.px-callback input::placeholder { color: rgba(255,255,255,.5); }
.px-callback-ok { display: none; margin-top: 12px; color: #9be8bc; font-size: 14px; line-height: 20px; }
.px-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 48px 0; border-top: 1px solid var(--px-line); }
.px-footer h3 { margin: 0 0 16px; color: #fff; text-transform: none; }
.px-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.px-footer address { font-style: normal; display: grid; gap: 16px; }
.px-footer address b { color: #fff; font-weight: 500; display: block; }
.px-footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.px-chip { display: inline-flex; padding: 8px 12px; border-radius: 9999px; border: 1px solid rgba(200, 240, 60, .6); color: var(--px-gold-hi) !important; transition: background .3s var(--px-ease), color .3s var(--px-ease) !important; }
.px-chip:hover { background: var(--px-gold); color: var(--px-ink) !important; }
.px-chip--solid { background: var(--px-gold); color: var(--px-ink) !important; }
.px-footer-badge-img { width: 100%; max-width: 280px; border-radius: 12px; display: block; }
.px-wordmark { font-size: 128px; line-height: 1; font-weight: 600; white-space: nowrap; text-align: center; padding: 0 0 8px; user-select: none; color: rgba(255,255,255,.07); }
.px-footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; padding: 24px 0 32px; border-top: 1px solid var(--px-line); font-size: 14px; line-height: 20px; }
.px-footer-bottom ul { display: flex; gap: 24px; flex-wrap: wrap; }
.px-credit { padding: 0 0 24px; color: rgba(169, 180, 224, .7); }
.px-credit a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1080px) { .px-wordmark { font-size: 96px; } }
@media (max-width: 960px) {
  .px-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .px-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .px-footer-grid { grid-template-columns: 1fr; }
  .px-wordmark { font-size: 48px; }
  .px-callback form { flex-direction: column; border-radius: 16px; }
  .px-callback input { padding: 12px; }
}

/* ---------- Floating contact dock ---------- */
.px-dock { position: fixed; right: 24px; bottom: 24px; z-index: 9980; display: grid; gap: 12px; }
.px-dock a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; text-decoration: none !important; position: relative; transition: transform .5s var(--px-ease), scale .3s var(--px-ease); }
.px-dock a:hover { transform: translateY(-4px); }
.px-dock a:active { scale: .98; }
.px-dock-wa { background: #1fb457; }
.px-dock-mail { background: var(--px-navy); border: 1px solid var(--px-gold); color: var(--px-gold-hi) !important; }
.px-dock-wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fb457; animation: px-ping 2.4s var(--px-ease) infinite; }
@keyframes px-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.px-dock .px-icon { font-size: 24px; }

/* ---------- Flat translucent surfaces (no gradients) ---------- */
.px-glass,
body.px-site .cs-card,
body.px-site .rv-sum,
body.px-site .rv-card,
body.px-site .px-callback form {
  background: rgba(12, 26, 92, .55);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.16);
}
body.px-site .px-btn--ghost { background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.px-site .cs-field input, body.px-site .cs-field select { background: rgba(255,255,255,.08); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .px-glass, body.px-site .cs-card, body.px-site .rv-card, body.px-site .px-header, body.px-site .px-drop { background: rgba(7, 16, 51, .94); }
}
@media (prefers-reduced-transparency: reduce) {
  .px-glass, body.px-site .px-header, body.px-site .px-drop, body.px-site .cs-card, body.px-site .rv-sum, body.px-site .rv-card, body.px-site .px-callback form { -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); background: rgba(7, 16, 51, .66); }
}

@media (prefers-reduced-motion: reduce) {
  .px-grain, .px-dock-wa::after { animation: none; }
  .px-loader-bar i.is-running { animation-duration: .01s; }
  .px-btn, .px-btn::before, .px-drop, .px-menu, .px-menu-main > li, .px-header { transition-duration: .01s; transition-delay: 0s !important; }
  .px-menu-main > li { transform: none; }
}

/* ============================================================
   Liquid glass — used in a few places only (nav, hero chips,
   consult card, contact dock). Blur + saturation behind a light
   tint, a bright top edge, and a soft pointer sheen on [data-spot].
   Text on glass keeps a dark or very light surface behind it.
   ============================================================ */
.px-header,
.hx-kicker,
.hx-proof,
.hx-pin,
body.px-site .cs-card,
.px-dock-mail {
  position: relative;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.05);
  backdrop-filter: blur(24px) saturate(190%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(255, 255, 255, .08), inset 0 0 24px rgba(255, 255, 255, .05), 0 12px 40px rgba(7, 16, 51, .32);
}
.px-header { position: fixed; background: rgba(7, 16, 51, .42); }
.px-header.is-scrolled { background: rgba(7, 16, 51, .6); }
body.px-site .cs-card { background: rgba(255, 255, 255, .09); }
.px-dock-mail { background: rgba(7, 16, 51, .5); }
.hx-pin { position: absolute; background: rgba(7, 16, 51, .5); }
/* Pointer sheen: only where the element opts in with data-spot */
[data-spot].is-hot.px-glass::after,
body.px-site .cs-card[data-spot]::after,
.hx-proof[data-spot]::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 62%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .5s var(--px-ease);
}
body.px-site .cs-card[data-spot].is-hot::after, .hx-proof[data-spot].is-hot::after { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .px-header, .hx-kicker, .hx-proof, .hx-pin, body.px-site .cs-card, .px-dock-mail { background: rgba(7, 16, 51, .9); }
}
@media (prefers-reduced-transparency: reduce) {
  .px-header, .hx-kicker, .hx-proof, .hx-pin, body.px-site .cs-card, .px-dock-mail { -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); background: rgba(7, 16, 51, .66); }
}


/* ---------- Enquiry sent popup ---------- */
.px-modal { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; padding: 16px; }
.px-modal[hidden] { display: none; }
.px-modal-backdrop { position: absolute; inset: 0; background: rgba(7,16,51,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: px-fade .3s ease-out both; }
.px-modal-card { position: relative; width: 100%; max-width: 440px; display: grid; justify-items: center; gap: 12px; padding: 40px 32px 32px; text-align: center; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 80% at 50% 0%, rgba(200,240,60,.18), rgba(200,240,60,0) 60%), linear-gradient(150deg, rgba(26,47,168,.96), rgba(52,82,238,.9));
  border: 1px solid rgba(255,255,255,.28); box-shadow: 0 32px 80px rgba(7,16,51,.45), inset 0 1px 0 rgba(255,255,255,.35); animation: px-pop .5s var(--px-ease) both; }
.px-modal-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--px-gold); color: var(--px-ink); }
.px-modal-icon svg { width: 32px; height: 32px; }
.px-modal-title { margin: 0; font: 600 30px/36px var(--px-display); color: #fff !important; }
.px-modal-text { margin: 0 0 12px; font: 400 16px/24px var(--px-body); color: rgba(255,255,255,.9); text-wrap: pretty; }
.px-modal .px-btn--dark { background: #fff; color: var(--px-navy); }
body.px-modal-open { overflow: hidden; }
@keyframes px-fade { from { opacity: 0; } }
@keyframes px-pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .px-modal-backdrop, .px-modal-card { animation: none; } }
