/* Scoped SEO/UX additions. Brand font files, palette and existing styles are preserved. */
.ps-decision .ps-deliverable{display:flex;gap:14px;align-items:center;padding:16px 0;border-top:1px solid #FFFFFF30}
.ps-deliverable span{min-width:0}.ps-portfolio-filters{display:flex;flex-wrap:wrap;gap:10px;margin-block:20px}
.ps-portfolio-filters .ps-btn{font:inherit;cursor:pointer}.ps-portfolio-filters [aria-pressed="true"]{outline:2px solid var(--ps-gold,#E9AA1B);outline-offset:2px}
.ps-portfolio-count{margin-block:8px 18px}.pishtaz360-project-card[hidden]{display:none!important}
.ps-wheel-controls{display:flex;justify-content:center;margin-block:16px}.ps-motion-paused .ps-service-wheel-ring,.ps-motion-paused .ps-visual-wheel-ring{animation-play-state:paused!important}
.ps-table-wrap{max-width:100%;overflow-x:auto}.ps-table-wrap table{min-width:0;width:100%;table-layout:fixed}.ps-table-wrap th,.ps-table-wrap td{overflow-wrap:anywhere}
.ps-worksheet{border-top:1px solid var(--ps-border);padding-block:24px;margin-block:24px}.ps-worksheet ul{padding-inline-start:24px}
@media(max-width:680px){.ps-decision .ps-deliverable{padding:12px 0}.ps-portfolio-filters .ps-btn{flex:1 1 140px}}
/* A stopped 3D ring would conceal rear cards. Reduced motion uses a complete static grid. */
@media(prefers-reduced-motion:reduce),(hover:none){
 .ps-service-wheel-wrap,.ps-visual-wheel-wrap,.ps-visual-wheel-eight{height:auto!important;perspective:none!important}
 .ps-service-wheel-ring,.ps-visual-wheel-ring,.ps-visual-wheel-eight .ps-visual-wheel-ring{position:static!important;width:auto!important;height:auto!important;transform:none!important;animation:none!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))!important;gap:16px}
 .ps-service-wheel-card,.ps-visual-wheel-card,.ps-visual-wheel-eight .ps-visual-wheel-card{position:relative!important;width:auto!important;margin:0!important;transform:none!important;backface-visibility:visible}
 .ps-service-wheel-card{min-height:132px}.ps-visual-wheel-card,.ps-visual-wheel-eight .ps-visual-wheel-card{height:auto!important;aspect-ratio:2/3}
 .ps-service-wheel-hint,.ps-wheel-controls{display:none!important}
}

/* Keep calculator contrast consistent with the existing dark brand theme. */
html[data-ps-theme="dark"] #price-calculator.ps-pricing-tools{background:#0f1f3a;border-color:#223a5e;color:#eaf1fb}
html[data-ps-theme="dark"] #price-calculator.ps-pricing-tools h2{color:#eaf1fb}

.ps-portfolio-filters[hidden]{display:none!important}

.ps-portfolio-filters,.ps-portfolio-count{width:min(1200px,calc(100% - 32px));margin-inline:auto;box-sizing:border-box}
.ps-table-wrap .ps-compare-table{opacity:1!important;transform:none!important}

.ps-table-wrap th{color:#061f4f}
html[data-ps-theme="dark"] .ps-table-wrap th{background:#0f1f3a;color:#eaf1fb}

/* P360 CTA v4.27.42 — additive conversion styles */
/* Additive styles: inherited fonts and existing brand tokens. */
[data-p360-cta]:focus-visible,.ps-mobile-cta a:focus-visible,.ps-analytics-choice button:focus-visible,.ps-consultation-form :focus-visible{outline:3px solid var(--ps-gold,#E9AA1B);outline-offset:4px}
[data-p360-cta]:active{transform:translateY(1px)}
.ps-consultation-form{margin-bottom:32px;padding:24px;border:1px solid var(--ps-border,#223a5e);border-radius:var(--ps-radius,16px)}
.ps-consultation-form label{display:grid;gap:8px;margin-block:16px}
.ps-consultation-form input,.ps-consultation-form select,.ps-consultation-form textarea{font:inherit;box-sizing:border-box;max-width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--ps-border,#223a5e);border-radius:8px;color:inherit;background:var(--ps-card,#0f1f3a)}
.ps-consultation-form input[type=checkbox]{width:24px;min-height:24px;accent-color:var(--ps-gold,#E9AA1B)}
.ps-consultation-form button:disabled{opacity:.65;cursor:wait}
.ps-mobile-cta{display:none}
.ps-analytics-choice{padding:20px;margin-block:16px;border:1px solid var(--ps-border,#223a5e);border-radius:12px}
.ps-analytics-choice[hidden],.ps-mobile-cta[hidden]{display:none!important}
.ps-analytics-choice button{font:inherit;margin:4px;min-height:44px}
.ps-analytics-settings{font:inherit;background:transparent;color:inherit;text-decoration:underline;border:0;min-height:44px;cursor:pointer}
@media(max-width:767px){
 .ps-has-mobile-cta body{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
 .ps-mobile-cta{display:flex;gap:6px;position:fixed;z-index:110;inset-inline:0;bottom:0;box-sizing:border-box;width:100%;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));background:#081326;border-top:1px solid var(--ps-border,#223a5e)}
 .ps-mobile-cta a{flex:1;min-width:0;min-height:48px;padding:8px 6px;font-size:12px;line-height:1.5;white-space:normal;text-align:center}
 .ps-has-mobile-cta .ps-digital-card-fab{bottom:calc(100px + env(safe-area-inset-bottom,0px))}
 .ps-header-inner>[data-p360-primary]{max-width:130px;white-space:normal;padding:7px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){[data-p360-cta],.ps-mobile-cta a{transition:none!important;transform:none!important}}

.ps-consultation-form .ps-btn-primary{background:linear-gradient(135deg,#E0A11D,#F0C04B)!important;color:var(--ps-navy,#061F4F)!important;border-color:#D79B18!important}
/* Existing footer accent needed a small contrast correction (4.42:1 -> >4.5:1). */
.ps-footer .ps-brand-footer .ps-brand-text>span{color:var(--ps-cyan,#17A9E5)!important}

/* QA: pair light-theme input text with a light surface; keep the dark theme unchanged. */
html[data-ps-theme="light"] .ps-consultation-form input,
html[data-ps-theme="light"] .ps-consultation-form select,
html[data-ps-theme="light"] .ps-consultation-form textarea{background:#fff;color:#061f4f}
/* Contact links retain their compact top-bar layout with a 24px minimum target. */
.ps-hours-links a{display:inline-flex;align-items:center;min-height:24px;min-width:24px}

/* The sticky mobile bar keeps its dark surface in both themes. */
html[data-ps-theme="light"] .ps-mobile-cta .ps-btn-secondary{color:#f4f7fc;border-color:#b6c6dc}
html[data-ps-theme="light"] .ps-header .ps-brand-text > span{color:#0873c4!important}

/* Readable image credits and keyboard access to horizontal article tables. */
html[data-ps-theme="dark"] figcaption a{color:#77bdff!important}
.ps-table-wrap:focus-visible{outline:3px solid #e9aa1b;outline-offset:3px}

/* Allow wrapped desktop CTAs to stay inside the header in every language. */
@media(min-width:981px){
 .ps-header-inner{height:auto;min-height:82px;padding-block:8px}
}
