/* Crown design system overrides - 2026-11-19 (UI/UX/visual audit)
   Crown identity: Montserrat headings, rounded "seal" shapes, gold underline accents. */
:root{--ce-navy:#07294C;--ce-navy-2:#0E3763;--ce-gold:#FCCC00;--ce-ivory:#F9F5EC}

/* One heading family across every Crown page (was Inter / Archivo Black / Montserrat mixed) */
h1,h2,h3,h4,.hero-slogan,.cf-brand strong,.cf-brand b,.cf-brand h2,.cf-brand h3{font-family:'Montserrat',Inter,system-ui,"Segoe UI",Arial,sans-serif!important;font-weight:800!important;letter-spacing:-.015em!important}
h2,h3,h4{text-transform:none!important}
.page-header h1,.cjt-sec h1{text-transform:none!important;font-size:clamp(30px,4.2vw,56px)!important;line-height:1.08!important}
.cf-brand,.cf-brand *{font-family:'Montserrat',Inter,sans-serif}

/* Hero: own accent treatment (gold underline, no yellow box) + readable over video */
.video-hero .hero-slogan{text-shadow:0 2px 24px rgba(0,0,0,.6);text-transform:none!important}
.video-hero .hero-slogan .accent{background:none!important;color:#FCCC00!important;padding:0 0 .04em!important;box-shadow:none!important;border-bottom:.12em solid #FCCC00;display:inline-block}
.video-hero p.lead{font-family:Inter,system-ui,sans-serif!important;line-height:1.6!important;text-shadow:0 1px 10px rgba(0,0,0,.5)}

/* Rounded seal shapes: buttons, chips, cards */
.btn,a.btn,button.btn,.nav-cta,.nav-cv{border-radius:10px!important}
.services-grid>*,.ctrust-s,.ctrust-b,.ctrust-c,.ctrust-y,.ccred-lg,.cws-g>*{border-radius:14px!important}
.cgl-ap span{border-radius:999px!important;border:1px solid rgba(252,204,0,.55)!important;background:rgba(7,41,76,.55)!important}

/* Header: employer CTA leads, job-seeker link steps back */
.nav-links a.nav-cv{border:0!important;background:none!important;color:#F9F5EC!important;padding:8px 10px!important;font-weight:500!important;box-shadow:none!important;opacity:.85;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(252,204,0,.6)}
.nav-links a.nav-cv:hover{opacity:1;color:#FCCC00!important}

/* Section rhythm: two clearly different navies instead of one flat blue */
.section-dark{background:#061F3A!important}
.section-grey{background:#123F70!important}

/* EOR / payroll box */
section>.container>div[style*="border:2px dashed currentColor"] h2{font-size:clamp(26px,3vw,40px)!important;line-height:1.12!important}
section>.container>div[style*="border:2px dashed currentColor"]{align-items:center}

/* Card grids: no orphan cards / empty slots */
.services-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important}
.section-grey .container[style*="max-width:760px"]{max-width:1080px!important}
.section-grey .container[style*="max-width:760px"]>div[style*="auto-fit"]{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important}

/* Floating "Apply for Job": compact, never sits on top of the last content */
.side-cta{right:14px!important;bottom:14px!important;z-index:60}
.side-cta a.sc-job{font-size:13px!important;padding:9px 14px!important;border-radius:999px!important;box-shadow:0 6px 18px rgba(0,0,0,.3)!important}
footer,.site-footer,body>footer{padding-bottom:84px!important}

/* No pure white anywhere */
.cgl,.cgl h2,.cgl li,.cgl-ap span,.cgl-sv li,.cgl-w div,.ccred-tx strong,.ctrust-s strong,.ctrust-y li{color:#F9F5EC!important}
.ccred-lg{background:#F9F5EC!important}
.skip-link{background:#F9F5EC!important;color:#07294C!important}

/* Country-page "zero cost" line becomes a proper badge */
.ce-zero{display:inline-block;margin-top:18px;padding:7px 14px;border-radius:999px;border:1px solid #FCCC00;color:#FCCC00;font-weight:700;font-size:14px;letter-spacing:.02em}

/* 2026-11-20 audit: WCAG AA contrast fixes */
html body .hero-cta a[data-wa-href],html body .hero-cta a[href*="wa.me"],html body .cf-c a[data-wa-href],html body .cf-c a[href*="wa.me"]{color:#07294C!important}
html body #wa-gate-modal button[type="submit"]{color:#07294C!important}
html body .ctrust-c span[style*="#B8860B"]{color:#7A5A06!important}
html body span[style*="text-transform:uppercase;opacity:.55"]{opacity:.8!important}

/* hero-apply-20261120: Apply for Job button in hero row */
@keyframes heroApplyBlink{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(255,204,0,.75)}50%{opacity:.45;box-shadow:0 0 0 8px rgba(255,204,0,0)}}
html body .hero-cta a.hero-apply:not(#ha-z1):not(#ha-z2){display:inline-flex;align-items:center;justify-content:center;gap:10px;background:transparent!important;color:#FFCC00!important;border:2px solid #FFCC00!important;animation:heroApplyBlink 1s ease-in-out infinite}
html body .hero-cta a.hero-apply svg{width:20px;height:20px;flex:none}
html body .hero-cta a.hero-apply span{color:inherit!important}
.side-cta{transition:opacity .25s}
html body .side-cta.sc-hide:not(#ha-z1){opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@media (prefers-reduced-motion:reduce){html body .hero-cta a.hero-apply:not(#ha-z1){animation:none}}
/* hero-apply-mobile-20261120: equal full-width hero buttons on phones */
@media (max-width:600px){html body .hero-cta:not(#ha-z1){flex-direction:column;align-items:stretch}html body .hero-cta:not(#ha-z1) > a{width:100%;display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box}}
/* mobile-overflow-20261120: stop sideways scroll from off-canvas menu */
html,body{overflow-x:clip}

/* Header CV link blinks like the Apply button (Nov 2026) */
@keyframes navCvBlink{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(252,204,0,.75)}50%{opacity:.4;box-shadow:0 0 0 7px rgba(252,204,0,0)}}
.nav-links a.nav-cv{animation:navCvBlink 1s ease-in-out infinite;border-radius:8px}

/* Header wordmark: text logo (Nov 2026) */
.nav-inner a.logo>svg{display:none!important}
.nav-inner a.logo{font-family:'Archivo Black',sans-serif;font-size:16px;font-weight:900;line-height:1.2;color:#F9F5EC;text-decoration:none;white-space:nowrap;text-transform:none;letter-spacing:0;gap:0!important}
.nav-inner a.logo::before{content:"Crown Enterprises"}
.nav-inner a.logo::after{content:"OEP";background:#FFCC00;color:#0A0A0A;padding:1px 6px;margin-left:6px}
.cf-tag{text-transform:capitalize}

/* a11y 29 Nov 2026 */
a.pp-link{text-decoration:underline}