/*
Theme Name: PowerX
Theme URI: https://powerx.pk
Author: PowerX
Description: Custom theme for PowerX — Total Technical Services. Electrical, solar & inverter, AC, appliance, TV, microwave and plumbing services, with online booking, WhatsApp integration and a Service Requests manager.
Version: 1.6.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: powerx
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--px-navy: #071A33;
	--px-navy-2: #0B2545;
	--px-navy-3: #12305A;
	--px-black: #05080D;
	--px-cyan: #00D9FF;
	--px-cyan-d: #0099CC;
	--px-cyan-l: #7FECFF;
	--px-white: #FFFFFF;
	--px-ink: #0B1626;
	--px-text: #3B4A5E;
	--px-muted: #8FA3BF;
	--px-soft: #F2F6FA;
	--px-line: #DFE7F0;
	--px-line-dark: rgba(143, 163, 191, .18);
	--px-wa: #25D366;
	--px-radius: 14px;
	--px-radius-lg: 22px;
	--px-shadow: 0 18px 50px -18px rgba(7, 26, 51, .28);
	--px-shadow-sm: 0 6px 20px -10px rgba(7, 26, 51, .25);
	--px-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--px-container: 1200px;
	--px-header-h: 78px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--px-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--px-font); font-size: 16px; line-height: 1.65; color: var(--px-text); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--px-cyan-d); text-decoration: none; transition: color .2s; }
a:hover { color: var(--px-navy); }
h1, h2, h3, h4 { font-family: var(--px-font); color: var(--px-ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--px-cyan); outline-offset: 3px; border-radius: 4px; }
.px-skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--px-cyan); color: var(--px-navy); padding: 10px 16px; font-weight: 700; }
.px-skip:focus { left: 12px; top: 12px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

.px-container { width: 100%; max-width: var(--px-container); margin: 0 auto; padding: 0 24px; }
.px-narrow { max-width: 820px; }
.px-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.px-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.4em; border-radius: 10px; font-weight: 700; font-size: .98rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s, border-color .2s; white-space: nowrap; font-family: inherit; }
.px-btn:hover { transform: translateY(-2px); }
.px-btn:active { transform: translateY(0); }
.px-btn-lg { padding: 1em 1.6em; font-size: 1.04rem; }
.px-btn-block { width: 100%; }
.px-btn-primary { background: var(--px-cyan); color: var(--px-navy); box-shadow: 0 10px 30px -10px rgba(0, 217, 255, .7); }
.px-btn-primary:hover { background: var(--px-cyan-l); color: var(--px-navy); }
.px-btn-dark { background: var(--px-navy); color: #fff; }
.px-btn-dark:hover { background: var(--px-black); color: #fff; }
.px-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.px-btn-ghost:hover { border-color: var(--px-cyan); color: #fff; background: rgba(0, 217, 255, .08); }
.px-btn-outline { background: transparent; color: var(--px-navy); border-color: var(--px-navy); }
.px-btn-outline:hover { background: var(--px-navy); color: #fff; }
.px-btn-wa { background: var(--px-wa); color: #06351a; }
.px-btn-wa:hover { background: #3fe07b; color: #06351a; }
.px-btn.is-loading { opacity: .7; pointer-events: none; }
.px-btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.px-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--px-cyan-d); font-size: .95rem; }

.px-eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--px-cyan); margin-bottom: 1rem; }
.px-eyebrow.is-dark { color: var(--px-cyan-d); }
.px-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--px-cyan); box-shadow: 0 0 0 4px rgba(0, 217, 255, .2); animation: px-pulse 2s infinite; }
@keyframes px-pulse { 50% { box-shadow: 0 0 0 9px rgba(0, 217, 255, 0); } }
.px-lead { font-size: 1.15rem; color: #C9D6E6; max-width: 40em; }
.px-lead.is-dark { color: var(--px-text); }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.px-topbar { background: var(--px-black); color: var(--px-muted); font-size: .84rem; }
.px-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.px-topbar span, .px-topbar a { display: inline-flex; align-items: center; gap: .45em; }
.px-topbar a { color: #C9D6E6; }
.px-topbar a:hover { color: var(--px-cyan); }
.px-topbar-right { gap: 20px !important; }
.px-topbar .px-ico { color: var(--px-cyan); }

.px-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 26, 51, .97); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--px-line-dark); transition: box-shadow .25s; }
.admin-bar .px-header { top: 32px; }
.px-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); }
.px-header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--px-header-h); }
.px-brand { display: flex; align-items: center; color: #fff; flex: none; }
.px-logo { display: inline-flex; color: #fff; }
.px-logo svg { height: 50px; width: auto; display: block; }

.px-nav { margin-left: auto; }
.px-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.px-menu li { position: relative; }
.px-menu > li > a { display: block; padding: 10px 14px; color: #E3EBF5; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.px-menu > li > a:hover, .px-menu > li.current-menu-item > a, .px-menu > li.current-menu-ancestor > a { color: var(--px-cyan); }
.px-menu .menu-item-has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.px-menu .sub-menu { list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--px-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.px-menu .sub-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.px-menu li:hover > .sub-menu, .px-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.px-menu .sub-menu a { display: block; padding: 9px 12px; color: var(--px-ink); font-weight: 600; font-size: .93rem; border-radius: 8px; }
.px-menu .sub-menu a:hover { background: var(--px-soft); color: var(--px-cyan-d); }
.px-sub-toggle { display: none; }
.px-nav-cta-mobile { display: none; }

.px-header-cta { display: flex; align-items: center; gap: 18px; }
.px-call { display: flex; align-items: center; gap: 10px; color: #fff; }
.px-call:hover { color: var(--px-cyan); }
.px-call-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(0, 217, 255, .12); color: var(--px-cyan); border: 1px solid rgba(0, 217, 255, .35); }
.px-call-txt { display: flex; flex-direction: column; line-height: 1.2; }
.px-call-txt small { color: var(--px-muted); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.px-call-txt strong { font-size: 1rem; }

.px-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--px-line-dark); background: transparent; border-radius: 10px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.px-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.px-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.px-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.px-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Decorative backgrounds
   ========================================================================== */
.px-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(0, 217, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 217, 255, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }

/* ==========================================================================
   Hero
   ========================================================================== */
.px-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #12305A 0%, transparent 60%), linear-gradient(160deg, var(--px-navy) 0%, #06142a 60%, var(--px-black) 100%); color: #fff; padding: 80px 0 0; }
.px-hero-glow { position: absolute; width: 520px; height: 520px; right: -120px; top: 40px; background: radial-gradient(circle, rgba(0, 217, 255, .28), transparent 65%); filter: blur(20px); pointer-events: none; }
.px-hero-mark { position: absolute; right: -140px; bottom: -160px; width: 620px; opacity: .05; pointer-events: none; color: #fff; }
.px-hero-mark .px-mark svg { width: 100%; }
.px-hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-bottom: 64px; }
.px-hero h1 { color: #fff; margin-bottom: .45em; }
.px-hero .px-lead { margin-bottom: 2rem; }
.px-hero-trust { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; color: #C9D6E6; font-size: .93rem; font-weight: 500; }
.px-hero-trust li { display: inline-flex; align-items: center; gap: .5em; }
.px-hero-trust .px-ico { color: var(--px-cyan); }
.px-hero-services { position: relative; border-top: 1px solid var(--px-line-dark); background: rgba(5, 8, 13, .45); }
.px-chip-row { list-style: none; margin: 0; padding: 18px 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.px-chip-row::-webkit-scrollbar { display: none; }
.px-chip-row a { display: inline-flex; align-items: center; gap: .5em; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--px-line-dark); color: #E3EBF5; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: .2s; }
.px-chip-row a:hover { border-color: var(--px-cyan); color: var(--px-cyan); background: rgba(0, 217, 255, .06); }
.px-chip-row .px-ico { color: var(--px-cyan); }

/* ==========================================================================
   Forms
   ========================================================================== */
.px-form-card { position: relative; background: #fff; color: var(--px-text); border-radius: var(--px-radius-lg); padding: 32px; box-shadow: var(--px-shadow); border: 1px solid var(--px-line); }
.px-hero .px-form-card { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 217, 255, .25); }
.px-hero .px-form-card::before { content: ''; position: absolute; left: 32px; right: 32px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--px-cyan), var(--px-cyan-d)); }
.px-form-title { font-size: 1.4rem; margin-bottom: .25em; }
.px-form-sub { color: #6B7A8F; font-size: .93rem; margin-bottom: 1.25rem; }
.px-form { display: grid; gap: 14px; }
.px-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.px-field { display: grid; gap: 6px; }
.px-field span { font-size: .82rem; font-weight: 600; color: var(--px-ink); }
.px-field input, .px-field select, .px-field textarea { width: 100%; font: inherit; font-size: .97rem; color: var(--px-ink); padding: 12px 14px; border: 1.5px solid var(--px-line); border-radius: 10px; background: #F8FAFC; transition: border-color .2s, box-shadow .2s, background .2s; }
.px-field textarea { resize: vertical; min-height: 64px; }
.px-field input:focus, .px-field select:focus, .px-field textarea:focus { outline: none; border-color: var(--px-cyan-d); background: #fff; box-shadow: 0 0 0 4px rgba(0, 217, 255, .18); }
.px-form .px-btn { margin-top: 4px; padding: 1em; font-size: 1.02rem; }
.px-form-note { display: flex; align-items: center; gap: .5em; justify-content: center; font-size: .8rem; color: #7B8BA0; margin: 0; }
.px-form-note .px-ico { color: var(--px-cyan-d); }
.px-form-error { background: #FDECEC; color: #8A1C1C; border-radius: 8px; padding: 10px 14px; font-size: .9rem; font-weight: 600; }
.px-form-success { text-align: center; padding: 16px 0; }
.px-form-success > .px-ico { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: rgba(0, 217, 255, .15); color: var(--px-cyan-d); margin-bottom: 12px; }
.px-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Sections
   ========================================================================== */
.px-section { position: relative; padding: 96px 0; }
.px-section-soft { background: var(--px-soft); }
.px-section-dark { background: var(--px-navy); color: #C9D6E6; overflow: hidden; }
.px-section-dark h2, .px-section-dark h3 { color: #fff; }
.px-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.px-section-head p:last-child { color: #5D6D82; font-size: 1.08rem; }

/* Services */
.px-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.px-service-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; background: #fff; border: 1px solid var(--px-line); border-radius: var(--px-radius); color: var(--px-text); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.px-service-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--px-cyan), var(--px-cyan-d)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.px-service-card:hover { transform: translateY(-6px); box-shadow: var(--px-shadow); border-color: transparent; color: var(--px-text); }
.px-service-card:hover::after { transform: scaleX(1); }
.px-service-card h3 { margin: 12px 0 2px; }
.px-service-card p { font-size: .94rem; color: #5D6D82; flex: 1; }
.px-service-card .px-link .px-ico { transition: transform .2s; }
.px-service-card:hover .px-link .px-ico { transform: translateX(4px); }
.px-service-card.is-cta { background: var(--px-navy); border-color: var(--px-navy); }
.px-service-card.is-cta h3 { color: #fff; }
.px-service-card.is-cta p { color: #A9BBD1; }
.px-service-card.is-cta .px-link { color: var(--px-cyan); }
.px-service-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(145deg, var(--px-navy), var(--px-navy-3)); color: var(--px-cyan); box-shadow: inset 0 0 0 1px rgba(0, 217, 255, .25); flex: none; }
.px-service-ico .px-ico { width: 26px; height: 26px; }
.px-service-ico.is-lg { width: 68px; height: 68px; border-radius: 18px; margin-bottom: 20px; }
.px-service-ico.is-lg .px-ico { width: 34px; height: 34px; }
.px-service-ico.is-wa { background: var(--px-wa); color: #fff; box-shadow: none; }
.px-services-grid.is-small { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.px-services-grid.is-small .px-service-card { align-items: center; text-align: center; padding: 22px 14px; }
.px-services-grid.is-small h3 { font-size: .95rem; }

/* Why */
.px-why { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.px-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.px-why-grid.is-4 { grid-template-columns: repeat(4, 1fr); position: relative; }
.px-why-item { padding: 26px; border-radius: var(--px-radius); background: rgba(255, 255, 255, .03); border: 1px solid var(--px-line-dark); transition: border-color .25s, background .25s; }
.px-why-item:hover { border-color: rgba(0, 217, 255, .45); background: rgba(0, 217, 255, .04); }
.px-why-item p { font-size: .94rem; margin: 0; color: #A9BBD1; }
.px-why-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(0, 217, 255, .12); color: var(--px-cyan); margin-bottom: 16px; }
.px-why-ico .px-ico { width: 22px; height: 22px; }

/* Steps */
.px-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.px-steps li { position: relative; padding: 32px 28px; border-radius: var(--px-radius); background: var(--px-soft); border: 1px solid var(--px-line); }
.px-steps li p { margin: 0; color: #5D6D82; }
.px-step-n { display: inline-block; font-size: 2.6rem; font-weight: 900; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--px-cyan-d); margin-bottom: 16px; }
.px-steps:not(.is-vertical) li:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -18px; width: 12px; height: 12px; border-top: 2px solid var(--px-cyan-d); border-right: 2px solid var(--px-cyan-d); transform: translateY(-50%) rotate(45deg); }
.px-steps.is-vertical { grid-template-columns: 1fr; gap: 14px; margin: 24px 0; }
.px-steps.is-vertical li { padding: 22px 24px 22px 92px; }
.px-steps.is-vertical .px-step-n { position: absolute; left: 24px; top: 22px; font-size: 2rem; }

/* Band */
.px-band { background: linear-gradient(110deg, var(--px-cyan) 0%, #3DE3FF 50%, var(--px-cyan-d) 100%); color: var(--px-navy); padding: 56px 0; }
.px-band-inner { display: flex; align-items: center; gap: 32px; }
.px-band h2 { color: var(--px-navy); margin-bottom: .2em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.px-band p { margin: 0; font-weight: 500; color: #0B2545; }
.px-band-inner > div:nth-child(2) { flex: 1; }
.px-band-ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; background: var(--px-navy); color: var(--px-cyan); flex: none; }
.px-band-ico .px-ico { width: 42px; height: 42px; }

/* Split / FAQ */
.px-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.px-split.is-center { align-items: center; }
.px-sticky { position: sticky; top: calc(var(--px-header-h) + 24px); }
.px-faq { margin-top: 28px; display: grid; gap: 12px; }
.px-faq-item { border: 1px solid var(--px-line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.px-faq-item[open] { border-color: var(--px-cyan-d); box-shadow: var(--px-shadow-sm); }
.px-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--px-ink); }
.px-faq-item summary::-webkit-details-marker { display: none; }
.px-faq-item p { padding: 0 22px 20px; margin: 0; color: #5D6D82; }
.px-faq-plus { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--px-soft); flex: none; }
.px-faq-plus::before, .px-faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--px-cyan-d); transform: translate(-50%, -50%); transition: transform .25s; }
.px-faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.px-faq-item[open] .px-faq-plus { background: var(--px-cyan); }
.px-faq-item[open] .px-faq-plus::before, .px-faq-item[open] .px-faq-plus::after { background: var(--px-navy); }
.px-faq-item[open] .px-faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.px-areas { margin-top: 36px; padding: 26px; border-radius: var(--px-radius); background: var(--px-soft); }
.px-areas h3 { display: flex; align-items: center; gap: .5em; font-size: 1.05rem; }
.px-areas h3 .px-ico { color: var(--px-cyan-d); }
.px-areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.px-areas li { padding: 6px 14px; background: #fff; border: 1px solid var(--px-line); border-radius: 99px; font-size: .88rem; font-weight: 600; color: var(--px-ink); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.px-page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 90% 0%, #12305A 0%, transparent 60%), linear-gradient(160deg, var(--px-navy), var(--px-black)); color: #fff; padding: 84px 0 76px; }
.px-page-hero .px-container { position: relative; }
.px-page-hero h1 { color: #fff; max-width: 18em; }
.px-page-hero .px-lead { margin-bottom: 0; }
.px-page-hero.is-service .px-lead { margin-bottom: 1.8rem; }
.px-crumbs { font-size: .86rem; color: var(--px-muted); margin-bottom: 22px; }
.px-crumbs a { color: #C9D6E6; }
.px-crumbs a:hover { color: var(--px-cyan); }

.px-content { font-size: 1.04rem; }
.px-content h2 { margin-top: 1.4em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.px-content h2:first-child { margin-top: 0; }
.px-content ul { padding: 0; list-style: none; display: grid; gap: 10px; }
.px-service-content ul { grid-template-columns: 1fr 1fr; }
.px-content ul li { position: relative; padding: 12px 16px 12px 46px; background: var(--px-soft); border-radius: 10px; font-weight: 600; color: var(--px-ink); font-size: .97rem; }
.px-content ul li::before { content: ''; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--px-cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071A33' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.px-content img { border-radius: var(--px-radius); }
.px-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.px-promise div { display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: 12px; border: 1px solid var(--px-line); font-weight: 700; font-size: .92rem; color: var(--px-ink); }
.px-promise .px-ico { color: var(--px-cyan-d); width: 22px; height: 22px; }

.px-about-visual { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--px-radius-lg); background: radial-gradient(circle at 50% 40%, var(--px-navy-3), var(--px-navy) 60%, var(--px-black)); color: #fff; padding: 18%; position: relative; overflow: hidden; }
.px-about-visual .px-mark, .px-about-visual svg { width: 100%; display: block; }
.px-about-visual p { position: absolute; bottom: 8%; margin: 0; letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; font-weight: 700; color: var(--px-cyan); }

.px-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.px-contact-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--px-radius); border: 1px solid var(--px-line); background: #fff; color: var(--px-ink); transition: .2s; }
a.px-contact-card:hover { border-color: var(--px-cyan-d); box-shadow: var(--px-shadow-sm); color: var(--px-ink); }
.px-contact-card.is-wide { grid-column: 1 / -1; }
.px-contact-card small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: #7B8BA0; font-weight: 600; }
.px-contact-card strong { font-size: 1rem; line-height: 1.35; }
.px-map { margin-top: 20px; border-radius: var(--px-radius); overflow: hidden; border: 1px solid var(--px-line); }
.px-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.px-urgent { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; padding: 16px 20px; border-radius: 12px; background: var(--px-navy); color: #fff; font-weight: 600; }
.px-urgent .px-ico { color: var(--px-cyan); }
.px-urgent a { color: var(--px-cyan); }

.px-post-list { display: grid; gap: 28px; }
.px-post-card { padding-bottom: 28px; border-bottom: 1px solid var(--px-line); }
.px-post-card h2 { font-size: 1.5rem; }
.px-post-card h2 a { color: var(--px-ink); }
.px-meta { font-size: .85rem; color: #7B8BA0; margin-bottom: .4em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.px-footer { background: var(--px-black); color: #9AAAC0; font-size: .95rem; }
.px-footer-cta { background: linear-gradient(110deg, var(--px-navy) 0%, var(--px-navy-3) 100%); border-bottom: 1px solid var(--px-line-dark); }
.px-footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 44px 24px; }
.px-footer-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .25em; }
.px-footer-cta p { margin: 0; color: #A9BBD1; }
.px-footer-cta .px-btn-dark { background: var(--px-cyan); color: var(--px-navy); }
.px-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 64px 24px 48px; }
.px-footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.2em; }
.px-footer-logo { display: inline-flex; margin-bottom: 18px; }
.px-footer-logo svg { height: 52px; }
.px-footer-links, .px-footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.px-footer a { color: #C9D6E6; }
.px-footer a:hover { color: var(--px-cyan); }
.px-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.px-footer-contact .px-ico { color: var(--px-cyan); margin-top: .25em; }
.px-social { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 600; }
.px-footer-bottom { border-top: 1px solid var(--px-line-dark); }
.px-footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: .85rem; color: #6F8099; }

.px-wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--px-wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.px-wa-float:hover { transform: scale(1.08); color: #fff; }
.px-wa-float .px-ico { width: 32px; height: 32px; }
.px-wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--px-wa); animation: px-ring 2.4s infinite; }
@keyframes px-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.px-mobile-bar { display: none; }

/* Reveal animation */
.px-js .px-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.px-js .px-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.px-js .px-reveal { opacity: 1; transform: none; transition: none; }
	.px-dot, .px-wa-float::before { animation: none; }
}

/* WordPress core */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-button__link { background: var(--px-cyan); color: var(--px-navy); border-radius: 10px; font-weight: 700; }
.wp-caption-text, figcaption { font-size: .85rem; color: #7B8BA0; }
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--px-line); border-radius: 8px; color: var(--px-ink); }
.nav-links .current { background: var(--px-navy); color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.px-call-txt { display: none; }
	.px-menu > li > a { padding: 10px 10px; }
	.px-services-grid { grid-template-columns: repeat(3, 1fr); }
	.px-services-grid.is-small { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
	:root { --px-header-h: 70px; }
	.px-burger { display: flex; }
	/* backdrop-filter would trap the fixed menu inside the header — use a solid bar on mobile. */
	.px-header { background: var(--px-navy); backdrop-filter: none; -webkit-backdrop-filter: none; }
	.px-header-inner { gap: 12px; }
	.px-header-cta { margin-left: auto; }
	.px-nav { position: fixed; top: var(--px-nav-top, var(--px-header-h)); left: 0; right: 0; bottom: 0; height: auto; background: var(--px-navy); padding: 12px 24px 120px; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; margin: 0; z-index: 99; border-top: 1px solid var(--px-line-dark); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
	.px-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
	.px-menu { flex-direction: column; gap: 0; }
	.px-menu > li { border-bottom: 1px solid var(--px-line-dark); display: flex; flex-wrap: wrap; align-items: center; }
	.px-menu > li > a { flex: 1; padding: 16px 4px; font-size: 1.08rem; }
	.px-menu .menu-item-has-children > a::after { display: none; }
	.px-sub-toggle { display: block; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
	.px-sub-toggle::before { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--px-cyan); border-bottom: 2px solid var(--px-cyan); transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
	.is-open > .px-sub-toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
	.px-menu .sub-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; box-shadow: none; padding: 0 0 12px 8px; min-width: 0; }
	.px-menu .is-open > .sub-menu { display: block; }
	.px-menu .sub-menu a { color: #C9D6E6; }
	.px-menu .sub-menu a:hover { background: rgba(255, 255, 255, .05); }
	.px-nav-cta-mobile { display: block; margin-top: 24px; }
	body.px-nav-open { overflow: hidden; }
	.px-hero-inner, .px-why, .px-split { grid-template-columns: 1fr; gap: 44px; }
	.px-sticky { position: static; }
	.px-why-grid.is-4 { grid-template-columns: 1fr 1fr; }
	.px-footer-grid { grid-template-columns: 1fr 1fr; }
	.px-hero-form { max-width: 560px; }
}
@media (max-width: 782px) {
	.admin-bar .px-header { top: 46px; }
	.px-topbar-inner > span:first-child { display: none; }
	.px-topbar-inner { justify-content: center; }
	.px-hide-sm { display: none !important; }
	.px-logo svg { height: 40px; }
	.px-hero { padding-top: 48px; }
	.px-section { padding: 68px 0; }
	.px-services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.px-service-card { padding: 22px 18px; }
	.px-steps { grid-template-columns: 1fr; }
	.px-steps:not(.is-vertical) li::after { display: none; }
	.px-band-inner, .px-footer-cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
	.px-field-row, .px-contact-cards, .px-service-content ul, .px-promise { grid-template-columns: 1fr; }
	.px-form-card { padding: 24px 20px; }
	.px-footer-bottom-inner { flex-direction: column; text-align: center; }
	.px-wa-float { display: none; }
	.px-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: var(--px-navy); border-top: 1px solid var(--px-line-dark); padding-bottom: env(safe-area-inset-bottom); }
	.px-mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45em; padding: 15px 8px; color: #fff; font-weight: 700; font-size: .95rem; }
	.px-mobile-bar a:nth-child(2) { color: var(--px-wa); border-left: 1px solid var(--px-line-dark); border-right: 1px solid var(--px-line-dark); }
	.px-mobile-bar a.is-primary { background: var(--px-cyan); color: var(--px-navy); }
	body { padding-bottom: 56px; }
}
@media (max-width: 520px) {
	.px-container { padding: 0 18px; }
	.px-services-grid, .px-services-grid.is-small, .px-why-grid, .px-why-grid.is-4, .px-footer-grid { grid-template-columns: 1fr; }
	.px-btn-group .px-btn { flex: 1 1 100%; }
	.px-header-cta { gap: 10px; }
}

/* ==========================================================================
   Photos (v1.2)
   ========================================================================== */
.px-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; background-size: cover; background-position: center 30%; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); pointer-events: none; }
.px-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 51, .1), rgba(7, 26, 51, .55)); }
.px-service-card.has-img { padding-top: 0; }
.px-card-img { display: block; margin: 0 -24px 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--px-soft); }
.px-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.px-service-card:hover .px-card-img img { transform: scale(1.06); }
.px-service-card.has-img .px-service-ico { margin-top: -27px; position: relative; z-index: 1; border: 3px solid #fff; box-sizing: content-box; }
.px-services-grid.is-small .px-card-img { margin: 0 -14px 10px; }
.px-services-grid.is-small .has-img .px-service-ico { display: none; }
.px-page-hero.has-photo { padding: 110px 0 96px; }
.px-page-hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: .35; }
.px-page-hero.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 26, 51, .96) 0%, rgba(7, 26, 51, .75) 55%, rgba(7, 26, 51, .35) 100%); pointer-events: none; }
.px-page-hero.has-photo .px-container { z-index: 1; }
.px-why-photo { margin: 36px 0 0; border-radius: var(--px-radius-lg); overflow: hidden; border: 1px solid var(--px-line-dark); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
.px-why-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.px-about-photo { position: relative; margin: 0; border-radius: var(--px-radius-lg); overflow: hidden; box-shadow: var(--px-shadow); }
.px-about-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.px-about-photo figcaption { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(7, 26, 51, .88); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(6px); }
.px-about-photo figcaption .px-mark svg { width: 26px; height: 26px; display: block; }
.px-team-band { position: relative; min-height: 420px; display: flex; align-items: flex-end; background-size: cover; background-position: center; padding: 48px 0; }
.px-team-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7, 26, 51, .92)); }
.px-team-band .px-container { position: relative; }
.px-team-band h2 { color: #fff; margin: 0; }
@media (max-width: 1024px) {
	.px-hero-photo { width: 100%; opacity: .22; -webkit-mask-image: none; mask-image: none; }
}
