/* ============================================================
   Homepage sections (px-home)
   Prefixes: hx hero · mq marquee · st stats · ab about · sv services
             tg tagline · pr process · wa why-australia · cs consult
             tm team · rv reviews · lc local · fq faq · fc final cta
   Rules: flat backgrounds, spacing from the 13-step table, Tailwind radii
   (8 / 12 / 16 / 24 / full), text sized by the named classes in px-core.css.
   ============================================================ */
body.px-home { margin: 0; background: var(--px-paper); color: var(--px-navy); overflow-x: hidden; }
body.px-home *, body.px-home *::before, body.px-home *::after { box-sizing: border-box; }
:where(body.px-home) :where(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
body.px-home :is(h1, h2, h3) { text-transform: none; }
body.px-home a { color: inherit; }
body.px-home img { max-width: 100%; display: block; }
body.px-home .page-wrapper { overflow: clip; }
body.px-home main > section { position: relative; }
section[id] { scroll-margin-top: 96px; }

/* Shared hover system (transform only) --------------------------------- */
[data-tilt] { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--px-ease); will-change: transform; transform-style: preserve-3d; }
[data-tilt].is-hot { transition: transform .1s var(--px-ease); }
[data-spot] { position: relative; }

/* Section headings ------------------------------------------------------ */
.sec-h { color: var(--px-navy); max-width: 680px; }
.sec-h--light { color: #fff; }
.px-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .24em; margin-bottom: -.24em; }
.px-wi { display: inline-block; will-change: transform; }
.eyebrow { color: var(--px-gold-text); margin-bottom: 16px; display: block; }

/* ═══ HERO ═══ */
.hx { min-height: 100svh; display: flex; align-items: flex-end; background: var(--px-ink); color: #fff; overflow: hidden; isolation: isolate; padding: 96px 0 80px; }
.hx-bg { position: absolute; inset: 0; z-index: -3; }
.hx-bg img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 100%; }
.hx-veil { position: absolute; inset: 0; background: rgba(7, 16, 51, .68); }
.hx-globe { position: absolute; z-index: -1; right: -24px; top: 50%; width: min(44vw, 700px); aspect-ratio: 1; transform: translateY(-46%); pointer-events: none; }
.hx-globe canvas { width: 100%; height: 100%; display: block; }
.hx-pin { position: absolute; left: 0; top: 0; z-index: 2; padding: 4px 12px 4px 24px; border-radius: 9999px; background: rgba(7, 16, 51, .78); border: 1px solid var(--px-gold); color: #fff; white-space: nowrap; opacity: 0; transition: opacity .3s var(--px-ease); will-change: transform; }
.hx-pin::before { content: ''; position: absolute; left: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--px-gold); animation: hx-pulse 2s var(--px-ease) infinite; }
@keyframes hx-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 240, 60, .7); } 70%, 100% { box-shadow: 0 0 0 12px rgba(200, 240, 60, 0); } }
.hx-in { position: relative; z-index: 2; }
.hx-kicker { display: inline-flex; padding: 8px 12px; margin-bottom: 24px; border-radius: 9999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
/* Hero heading: left to right gradient on the text only */
.hx-title { max-width: 680px; color: transparent; background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx-title.is-split { background: none; -webkit-text-fill-color: initial; color: inherit; }
.hx-title.is-split .px-wi { background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%); background-repeat: no-repeat; background-size: var(--gw, 100%) 100%; background-position: var(--gx, 0) 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hx-sub { max-width: 680px; margin-top: 24px; color: rgba(255,255,255,.8); }
.hx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.hx-call { color: rgba(255,255,255,.86) !important; text-decoration: underline; text-decoration-color: var(--px-gold); text-underline-offset: 4px; text-decoration-thickness: 2px; transition: color .3s var(--px-ease); }
.hx-call:hover { color: #fff !important; }
.hx-proof { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 24px; padding: 8px 16px; border-radius: 9999px; color: rgba(255,255,255,.92); overflow: hidden; }
.hx-proof b { color: var(--px-gold-hi); font-weight: 600; }
.hx-proof span { color: var(--px-gold); }
.hx-scroll { position: absolute; left: 50%; bottom: 24px; width: 24px; height: 40px; margin-left: -12px; border: 1px solid rgba(255,255,255,.4); border-radius: 12px; z-index: 3; }
.hx-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--px-gold); animation: hx-wheel 1.8s var(--px-ease) infinite; }
@keyframes hx-wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ═══ MARQUEE (constant speed, so the one linear animation on the page) ═══ */
.mq { background: var(--px-gold); color: var(--px-ink); overflow: hidden; padding: 16px 0; }
.mq-track { display: flex; width: max-content; animation: mq-run 48s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-set { display: flex; list-style: none; flex: none; }
.mq-set li { padding-right: 40px; margin-right: 40px; position: relative; white-space: nowrap; }
.mq-set li::after { content: ''; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; transform: rotate(45deg); background: var(--px-ink); }
@keyframes mq-run { to { transform: translateX(-50%); } }

/* ═══ STATS ═══ */
.st { padding: var(--px-section) 0; background: var(--px-paper); }
.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.st-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 240px; padding: 32px; border-radius: 24px; background: var(--px-ivory); color: var(--px-navy); border: 1px solid var(--px-line-dark); overflow: hidden; }
.st-card--lg { grid-column: span 2; grid-row: span 2; min-height: 496px; background: var(--px-navy); color: #fff; border-color: var(--px-navy); }
.st-card--gold { grid-column: span 2; background: var(--px-gold); color: var(--px-ink); border-color: var(--px-gold); }
.st-card--wide { grid-column: span 4; min-height: 200px; flex-direction: row; align-items: flex-end; justify-content: space-between; background: var(--px-paper); }
.st-num { color: var(--px-navy); font-variant-numeric: tabular-nums; }
.st-card--lg .st-num { color: var(--px-gold); }
.st-card--gold .st-num { color: var(--px-ink); }
.st-lbl { opacity: .88; max-width: 20em; }
.st-card small { opacity: .8; max-width: 30em; }
.st-card--wide .st-lbl { text-align: right; }

/* ═══ ABOUT ═══ */
.ab { padding: 0 0 var(--px-section); background: var(--px-paper); }
.ab-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.ab-fig { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; background: var(--px-navy); }
.ab-fig img { width: 100%; height: 125%; object-fit: cover; object-position: 38% 50%; }
.ab-text { margin: 24px 0 32px; color: var(--px-navy); max-width: 680px; }
.ab-text .px-w { display: inline; overflow: visible; padding: 0; margin: 0; }
.ab-text .px-wi { display: inline; }

/* ═══ SERVICES ═══ */
.sv { background: var(--px-ivory); color: var(--px-navy); padding: var(--px-section) 0; }
.sv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.sv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sv-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 272px; padding: 32px; border-radius: 24px; background: var(--px-paper); border: 1px solid var(--px-line-dark); text-decoration: none; color: var(--px-navy) !important; overflow: hidden; transition: border-color .3s var(--px-ease), background .3s var(--px-ease), scale .3s var(--px-ease); }
.sv-card:hover { border-color: var(--px-navy); box-shadow: 0 16px 40px rgba(12, 26, 92, .12); }
.sv-card:active { scale: .98; }
.sv-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--px-gold); color: var(--px-ink); margin-bottom: auto; font-size: 32px; transition: transform .5s var(--px-ease), background .3s var(--px-ease), color .3s var(--px-ease); }
.sv-card:hover .sv-ico { background: var(--px-navy); color: var(--px-gold); transform: rotate(-8deg); }
.sv-desc { color: #3a4a86; }
.sv-go { position: absolute; right: 24px; top: 24px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--px-line-dark); color: var(--px-navy); font-size: 20px; transform: translate(-8px, 8px) rotate(-45deg); opacity: 0; transition: transform .5s var(--px-ease), opacity .3s var(--px-ease); }
.sv-card:hover .sv-go, .sv-card:focus-visible .sv-go { opacity: 1; transform: translate(0, 0) rotate(-45deg); }

/* ═══ TAGLINE REVEAL (words activate one by one) ═══ */
.tg { background: var(--px-gold); padding: var(--px-section) 0; }
.tg-text { max-width: 680px; color: var(--px-ink); }
.tg-w { display: inline; opacity: .3; transition: opacity .7s var(--px-ease); }
.tg-w.is-on { opacity: 1; }

/* ═══ PROCESS (three steps) ═══ */
.pr { background: var(--px-paper); color: var(--px-navy); padding: var(--px-section) 0; }
.pr-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.pr-card { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 320px; padding: 32px; border-radius: 24px; background: var(--px-ivory); border: 1px solid var(--px-line-dark); transition: border-color .3s var(--px-ease), scale .3s var(--px-ease); }
.pr-card:hover { border-color: var(--px-navy); }
.pr-n { align-self: flex-start; padding: 4px 12px; border-radius: 12px; background: var(--px-gold); color: var(--px-ink); margin-bottom: auto; font-variant-numeric: tabular-nums; }
.pr-card p { color: #3a4a86; }
.pr-note { margin-top: 24px; color: #3a4a86; max-width: 680px; }

/* ═══ WHY AUSTRALIA ═══ */
.wa { padding: var(--px-section) 0; background: var(--px-ivory); }
.wa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.wa-photos { position: sticky; top: 96px; height: min(80vh, 720px); }
.wa-p { position: absolute; overflow: hidden; border-radius: 24px; background: var(--px-navy); box-shadow: 0 24px 64px rgba(7, 16, 51, .24); }
.wa-p img { width: 100%; height: 126%; object-fit: cover; }
.wa-p1 { left: 0; top: 0; width: 62%; height: 58%; z-index: 1; }
.wa-p2 { right: 0; top: 22%; width: 52%; height: 50%; z-index: 2; }
.wa-p3 { left: 12%; bottom: 0; width: 60%; height: 38%; z-index: 3; }
.wa-list { list-style: none; margin-top: 40px; }
.wa-item { padding: 24px 0; border-top: 1px solid var(--px-line-dark); }
.wa-item:last-child { border-bottom: 1px solid var(--px-line-dark); }
.wa-item h3, .wa-item p { transition: transform .5s var(--px-ease); }
.wa-item:hover h3, .wa-item:hover p { transform: translateX(16px); }
.wa-item h3 { transition: transform .5s var(--px-ease), color .3s var(--px-ease); }
.wa-item:hover h3 { color: var(--px-gold-text); }
.wa-item p { margin-top: 8px; color: #3a4a86; max-width: 34em; }

/* ═══ CONSULT ═══ */
.cs { background: var(--px-navy); color: #fff; padding: var(--px-section) 0; overflow: hidden; isolation: isolate; }
.cs-bg { position: absolute; inset: 0; z-index: -1; opacity: .16; }
.cs-bg img { width: 100%; height: 120%; object-fit: cover; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cs-lead { margin: 24px 0 32px; max-width: 28em; color: rgba(255,255,255,.82); }
.cs-facts { list-style: none; display: grid; gap: 24px; color: var(--px-mist); }
.cs-facts b { display: block; color: var(--px-gold-hi); font-weight: 600; margin-bottom: 2px; }
.cs-facts a { color: #fff; text-decoration: none; }
.cs-card { padding: 32px; border-radius: 24px; box-shadow: 0 24px 64px rgba(0, 0, 0, .4); }
.cs-card form { display: grid; gap: 16px; }
.cs-field { position: relative; }
.cs-field input, .cs-field select { width: 100%; height: 56px; padding: 24px 16px 8px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); color: #fff; font: 400 16px/24px var(--px-body); outline: 0; transition: border-color .3s var(--px-ease), background .3s var(--px-ease); appearance: none; -webkit-appearance: none; }
.cs-field select { padding-right: 48px; cursor: pointer; text-overflow: ellipsis; }
.cs-field select option { color: var(--px-navy); }
.cs-field input:focus, .cs-field select:focus { border-color: var(--px-gold); background: rgba(255,255,255,.12); }
.cs-field.has-error input, .cs-field.has-error select { border-color: #ff8d92; }
.cs-field label { position: absolute; left: 16px; top: 16px; color: rgba(255,255,255,.62); font: 400 16px/24px var(--px-body); pointer-events: none; transform-origin: left top; transition: transform .5s var(--px-ease), color .3s var(--px-ease); }
.cs-field input:focus + label, .cs-field input:not(:placeholder-shown) + label, .cs-field select:focus + label, .cs-field select:valid + label { transform: translateY(-12px) scale(.75); color: var(--px-gold-hi); }
.cs-caret { position: absolute; right: 16px; top: 18px; font-size: 20px; color: var(--px-gold-hi); pointer-events: none; }
.cs-err { display: none; margin-top: 4px; color: #ffb3b6; }
.cs-field.has-error .cs-err { display: block; }
.cs-submit { width: 100%; margin-top: 8px; }
.cs-alert { display: grid; gap: 4px; margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; }
.cs-alert--ok { background: rgba(31,180,87,.16); border: 1px solid rgba(31,180,87,.55); color: #c5f4d7; }
.cs-alert--err { background: rgba(229,72,77,.16); border: 1px solid rgba(229,72,77,.55); color: #ffd0d2; }

/* ═══ TEAM ═══ */
.tm { padding: var(--px-section) 0; background: var(--px-paper); }
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.tm-card { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; background: var(--px-navy); }
.tm-card--lead { grid-row: span 2; aspect-ratio: auto; }
.tm-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(.45); transform: scale(1.02); transition: filter .5s var(--px-ease), transform .5s var(--px-ease); }
.tm-card:hover img { filter: grayscale(0); transform: scale(1.08); }
.tm-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; background: rgba(7, 16, 51, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tm-info p { margin-top: 4px; color: var(--px-gold-hi); }
.tm-badge { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 9999px; background: var(--px-gold); color: var(--px-ink); }

/* ═══ REVIEWS ═══ */
.rv { background: var(--px-ivory); color: var(--px-navy); padding: var(--px-section) 0; overflow: hidden; }
.rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.rv-sum { display: flex; align-items: center; gap: 12px; padding: 12px 24px; border-radius: 9999px; }
.rv-stars { display: inline-flex; gap: 2px; color: var(--px-navy); font-size: 16px; }
.rv-row { overflow: hidden; margin-bottom: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-track { display: flex; width: max-content; animation: rv-run 70s linear infinite; }
.rv-row--rev .rv-track { animation-direction: reverse; }
.rv-row:hover .rv-track { animation-play-state: paused; }
.rv-set { display: flex; gap: 16px; padding-right: 16px; }
.rv-card { flex: none; width: 400px; max-width: 86vw; padding: 24px; border-radius: 24px; display: flex; flex-direction: column; gap: 16px; white-space: normal; transition: border-color .3s var(--px-ease); }
.rv-card:hover { border-color: var(--px-navy); }
.rv-who { display: flex; align-items: center; gap: 12px; }
.rv-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--px-gold); color: var(--px-ink); flex: none; }
.rv-card blockquote { color: #2a3a78; }
.rv-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
@keyframes rv-run { to { transform: translateX(-50%); } }

/* ═══ LOCAL (Parramatta & Sydney) ═══ */
.lc { background: var(--px-paper); padding: var(--px-section) 0; }
.lc-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.lc-copy p { margin-top: 24px; max-width: 36em; color: #3a4a86; }
.lc-copy .sec-h { margin-bottom: 8px; }
.lc-copy p a { color: var(--px-navy); text-decoration-color: var(--px-navy-3); text-underline-offset: 4px; text-decoration-thickness: 2px; font-weight: 600; }
.lc-links { padding: 32px; border-radius: 24px; background: var(--px-navy); color: #fff; }
.lc-links h3 { margin-bottom: 16px; }
.lc-links ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.lc-links a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff !important; text-decoration: none; overflow: hidden; transition: background .3s var(--px-ease), border-color .3s var(--px-ease), transform .5s var(--px-ease); }
.lc-links a:hover { background: rgba(200, 240, 60, .16); border-color: var(--px-gold); transform: translateX(4px); }
.lc-links a .px-icon { font-size: 20px; color: var(--px-gold-hi); }

/* ═══ FAQ ═══ */
.fq { padding: var(--px-section) 0; background: var(--px-ivory); }
.fq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.fq-grid > .sec-h { position: sticky; top: 96px; }
.fq-item { border-top: 1px solid var(--px-line-dark); }
.fq-item:last-child { border-bottom: 1px solid var(--px-line-dark); }
.fq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; transition: color .3s var(--px-ease); }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary > span { transition: transform .5s var(--px-ease); }
.fq-item summary:hover { color: var(--px-gold-text); }
.fq-item summary:hover > span { transform: translateX(8px); }
.fq-item summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--px-line-dark); transition: background .3s var(--px-ease), transform .5s var(--px-ease), border-color .3s var(--px-ease); }
.fq-item summary i::before, .fq-item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: currentColor; transition: transform .5s var(--px-ease); }
.fq-item summary i::after { transform: rotate(90deg); }
.fq-item[open] summary i { background: var(--px-gold); border-color: var(--px-gold); color: var(--px-ink); transform: rotate(180deg); }
.fq-item[open] summary i::after { transform: rotate(0); }
.fq-item p { padding: 0 64px 24px 0; color: #3a4a86; max-width: 38em; animation: fq-in .5s var(--px-ease); }
@keyframes fq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ═══ FINAL CTA ═══ */
.fc { background: var(--px-navy); padding: var(--px-section) 0; }
.fc .sec-h { max-width: 680px; }
.fc-sub { max-width: 680px; margin-top: 24px; color: rgba(255,255,255,.78); }
.fc .hx-cta { margin-top: 32px; }

/* ═══ Responsive ═══ */
@media (max-width: 1080px) {
  .sv-grid { grid-template-columns: repeat(2, 1fr); }
  .st-grid { grid-template-columns: repeat(2, 1fr); }
  .st-card--lg, .st-card--gold, .st-card--wide { grid-column: span 2; }
  .st-card--lg { min-height: 320px; grid-row: auto; }
  .tm-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-card--lead { grid-row: auto; grid-column: span 2; aspect-ratio: 16/10; }
  .hx-globe { width: 92vw; right: -28vw; opacity: .8; }
  .ab-grid, .wa-grid, .cs-grid, .fq-grid, .lc-grid { gap: 48px; }
}
@media (max-width: 860px) {
  .ab-grid, .wa-grid, .cs-grid, .fq-grid, .lc-grid { grid-template-columns: 1fr; }
  .pr-grid { grid-template-columns: 1fr; }
  .pr-card { min-height: 240px; }
  .wa-photos { position: relative; top: 0; height: 512px; }
  .fq-grid > .sec-h { position: static; }
  .hx-veil { background: rgba(7, 16, 51, .82); }
  .hx-globe { top: 16%; right: -34vw; width: 120vw; transform: none; opacity: .55; }
  .hx-pin, .hx-scroll { display: none; }
}
@media (max-width: 560px) {
  .hx-br { display: none; }
  .sv-grid, .st-grid, .tm-grid { grid-template-columns: 1fr; }
  .st-card--lg, .st-card--gold, .st-card--wide, .tm-card--lead { grid-column: auto; }
  .st-card--wide { flex-direction: column; align-items: flex-start; }
  .st-card--wide .st-lbl { text-align: left; }
  .sv-card { min-height: 200px; }
  .fq-item p { padding-right: 0; }
  .hx { padding-bottom: 64px; }
  .hx-cta .px-btn { width: 100%; }
  .cs-card { padding: 24px; }
  .lc-links { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-track, .rv-track, .hx-scroll span, .hx-pin::before { animation: none; }
  [data-tilt] { transform: none !important; }
  .tg-w { opacity: 1; transition: none; }
  .fq-item p { animation: none; }
}

/* Light review surfaces (override the shared dark glass) */
body.px-site .rv-sum, body.px-site .rv-card { background: var(--px-paper); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--px-line-dark); }
body.px-site .rv-sum { color: var(--px-navy); }

/* ============================================================
   BLENDED ATMOSPHERE
   One continuous glow behind the whole page; sections have no hard
   edges, cards are frosted glass, and the dark blocks fade in and out
   of the page instead of cutting across it. (Intentional exception to
   the "flat backgrounds" rule: the blend is the point of this layer.)
   ============================================================ */
:root { --px-page: #f3f6ff; --px-glass-card: rgba(255, 255, 255, .62); }
body.px-home { background: var(--px-page); }
body.px-home::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 55vh at 96% 8%, rgba(200, 240, 60, .30), transparent 70%),
    radial-gradient(55vw 60vh at 2% 46%, rgba(47, 75, 255, .20), transparent 70%),
    radial-gradient(50vw 50vh at 88% 88%, rgba(200, 240, 60, .22), transparent 70%),
    radial-gradient(60vw 55vh at 16% 100%, rgba(110, 150, 255, .26), transparent 70%);
}
.st, .ab, .sv, .pr, .wa, .tm, .rv, .lc, .fq, .tg { background: transparent; }

/* Hero melts into the page instead of ending on a hard line */
.hx { padding-bottom: 176px; }
.hx-veil { background: linear-gradient(180deg, rgba(7, 16, 51, .74) 0%, rgba(12, 26, 92, .62) 48%, rgba(42, 71, 232, .5) 100%); }
.hx::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 176px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(243, 246, 255, 0) 0%, var(--px-page) 100%); }
.hx-scroll { border-color: rgba(12, 26, 92, .45); bottom: 32px; }
.hx-scroll span { background: var(--px-navy); }

/* Marquee sits on the page, no coloured band */
.mq { background: transparent; color: var(--px-navy); padding: 24px 0; }
.mq-set li::after { background: var(--px-navy-3); }

/* Frosted glass cards over the glow */
.st-card, .st-card--wide, .sv-card, .pr-card, body.px-site .rv-card, body.px-site .rv-sum {
  background: var(--px-glass-card);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 #fff, 0 20px 48px rgba(12, 26, 92, .08);
}
.sv-card:hover, .pr-card:hover { border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 24px 56px rgba(12, 26, 92, .14); }
/* Feature cards carry the blue and the accent as a blend, not a block */
.st-card--lg { background: linear-gradient(150deg, #0c1a5c 0%, #2a47e8 100%); border-color: transparent; box-shadow: 0 28px 64px rgba(42, 71, 232, .28); }
.st-card--gold { background: linear-gradient(135deg, #c8f03c 0%, #e4ff95 55%, #b8d4ff 100%); border-color: transparent; box-shadow: 0 20px 48px rgba(150, 200, 40, .22); }
.lc-links { background: linear-gradient(160deg, #0c1a5c 0%, #2a47e8 100%); }
.pr-n { box-shadow: 0 8px 20px rgba(150, 200, 40, .3); }

/* Tagline: lime and blue glow bleeding into the page */
.tg { padding: 128px 0; background:
  radial-gradient(48vw 70% at 12% 50%, rgba(200, 240, 60, .55), transparent 70%),
  radial-gradient(42vw 70% at 90% 38%, rgba(47, 75, 255, .30), transparent 70%); }
.tg-text { color: var(--px-navy); }

/* Dark blocks fade in from (and out to) the page */
.cs, .fc { background: transparent; isolation: isolate; padding-top: 160px; }
.cs { padding-bottom: 160px; }
.cs::before, .fc::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 70% at 88% 24%, rgba(200, 240, 60, .30), transparent 65%),
    radial-gradient(55vw 80% at 8% 82%, rgba(47, 75, 255, .75), transparent 70%),
    linear-gradient(160deg, #0c1a5c 0%, #071033 100%); }
.cs::before { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); }
.fc::before { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px); mask-image: linear-gradient(180deg, transparent 0, #000 140px); }
.px-footer { background: linear-gradient(180deg, #0f2070 0, var(--px-ink) 320px); }
@media (max-width: 560px) { .cs, .fc { padding-top: 128px; } .cs { padding-bottom: 128px; } .hx { padding-bottom: 144px; } }
/* Hero fades out through a mask so no seam shows against the page glow */
.hx::after { display: none; }
.hx { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 176px), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 176px), transparent 100%); }
/* Mask the whole block (photo layer included) so no edge shows */
.cs::before, .fc::before { -webkit-mask-image: none; mask-image: none; }
.cs { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); }
.fc { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px); mask-image: linear-gradient(180deg, transparent 0, #000 140px); }

/* ═══ SERVICE DROPDOWN (custom listbox over the real select) ═══ */
.cs-field--dd select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cs-field--dd.has-error .cs-dd-btn { border-color: #ff8d92; }
.cs-dd-btn { position: relative; display: block; width: 100%; height: 56px; padding: 24px 48px 8px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; text-align: left; cursor: pointer; font-family: var(--px-body); transition: border-color .3s var(--px-ease), background .3s var(--px-ease); }
.cs-dd-btn span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-dd-btn:hover, .cs-field--dd.is-open .cs-dd-btn { border-color: var(--px-gold); background: rgba(255,255,255,.12); }
.cs-field--dd.is-open label, .cs-field--dd.is-filled label { transform: translateY(-12px) scale(.75); color: var(--px-gold-hi); }
.cs-field--dd .cs-caret { transition: transform .5s var(--px-ease); }
.cs-field--dd.is-open .cs-caret { transform: rotate(180deg); }
.cs-dd-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; max-height: 304px; overflow-y: auto; overscroll-behavior: contain; border-radius: 16px; outline: 0; background: rgba(7, 16, 51, .9); -webkit-backdrop-filter: blur(28px) saturate(190%); backdrop-filter: blur(28px) saturate(190%); border: 1px solid rgba(255,255,255,.26); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 24px 64px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--px-ease), transform .5s var(--px-ease), visibility 0s .5s; }
.cs-field--dd.is-open .cs-dd-list { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .3s var(--px-ease), transform .5s var(--px-ease), visibility 0s; }
.cs-dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; color: #fff; cursor: pointer; transition: background .3s var(--px-ease); }
.cs-dd-opt.is-active { background: rgba(255,255,255,.12); }
.cs-dd-opt[aria-selected="true"] { background: rgba(200, 240, 60, .16); }
.cs-dd-text { display: grid; gap: 2px; min-width: 0; }
.cs-dd-note { color: var(--px-mist); }
.cs-dd-check { font-size: 20px; color: var(--px-gold); opacity: 0; transform: scale(.6); transition: opacity .3s var(--px-ease), transform .5s var(--px-ease); flex: none; }
.cs-dd-opt[aria-selected="true"] .cs-dd-check { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .cs-dd-list, .cs-dd-check, .cs-field--dd .cs-caret { transition-duration: .01s; } }

/* Dropdown polish: fade only the background layers (not the content), let the panel overlay the next section */
.cs { -webkit-mask-image: none; mask-image: none; overflow: visible; z-index: 5; }
.cs::before, .cs-bg { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); }
.cs-bg { overflow: hidden; }
.fc::before { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px); mask-image: linear-gradient(180deg, transparent 0, #000 140px); }
.fc { -webkit-mask-image: none; mask-image: none; }
body.px-site .cs-dd-list:focus-visible { outline: none; }
.cs-dd-list { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.cs-dd-list::-webkit-scrollbar { width: 8px; }
.cs-dd-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); border-radius: 9999px; }

/* ═══ LATEST GUIDES ═══ */
.gd { padding: var(--px-section) 0; background: transparent; }
.gd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.gd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gd-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--px-glass-card); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 1px 0 #fff, 0 20px 48px rgba(12, 26, 92, .08); transition: transform .5s var(--px-ease), box-shadow .5s var(--px-ease); }
.gd-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 24px 56px rgba(12, 26, 92, .14); }
.gd-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.gd-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--px-ease); }
.gd-card:hover .gd-media img { transform: scale(1.04); }
.gd-body { display: grid; gap: 8px; padding: 24px; }
.gd-meta { color: #3a4a86; }
.gd-body h3 a { color: var(--px-navy); text-decoration: none; }
.gd-body h3 a:hover { color: var(--px-gold-text); }
.gd-body p:last-child { color: #3a4a86; }
@media (max-width: 1080px) { .gd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gd-grid { grid-template-columns: 1fr; } }
