/* SUNASOL V4: visual reconciliation, corporate depth and shared premium banners.
   This stylesheet is intentionally last. No business handlers or permissions changed. */
:root{--ww-text:#252731;--ww-muted:#555b69;--ww-line:#d7d9e3;--ww-surface:linear-gradient(155deg,#fff 5%,#f9fafc 48%,#eceff5 100%);--ww-sheen:linear-gradient(120deg,#fff 0%,#f9fafd 30%,#eff1f7 58%,#fff 100%);--ww-gold:#bc861c;--ww-gold-bright:#f9d56f;--ww-silk:radial-gradient(ellipse at 80% 6%,rgba(213,222,242,.25),transparent 37%),linear-gradient(117deg,#fff 0%,#fcfcfe 22%,#f6f7fb 60%,#fff 100%)}
html[data-theme=dark]{--ww-text:#f5f6fa;--ww-muted:#c5cad7;--ww-line:#444a5b;--ww-surface:linear-gradient(145deg,#30333e,#20232c 58%,#161921);--ww-sheen:linear-gradient(132deg,#1d2028 2%,#2a2e39 56%,#191b23 100%);--ww-gold:#f0be48;--ww-gold-bright:#ffe09b;--ww-silk:radial-gradient(ellipse at 80% 8%,rgba(90,101,129,.13),transparent 40%),linear-gradient(115deg,#161820 0%,#222530 52%,#171a22 100%)}
body.sw-home,body:not(.sw-home){background:var(--ww-silk)!important;color:var(--ww-text)!important;background-attachment:fixed!important}
body.sw-home .sw-header{background:transparent!important;border:0!important}
/* HERO — never clip descending letters and gold 3D bevel */
body.sw-home .sw-hero{min-height:clamp(630px,81svh,930px);grid-template-columns:minmax(0,44%) minmax(0,56%);padding-top:clamp(22px,3.5vh,58px);padding-bottom:clamp(8px,2.2vh,34px);grid-template-rows:minmax(0,1fr) auto;overflow:visible!important;align-items:center}
body.sw-home .sw-hero-copy{min-width:0;padding:0 10px 28px 0;align-self:center}
body.sw-home .sw-hero-copy h1{font-size:clamp(59px,6.1vw,102px);line-height:1.13!important;letter-spacing:-.067em;margin:18px 0 24px;padding:0 14px 17px 0;overflow:visible!important}
body.sw-home .sw-hero-copy h1 em{font-size:.92em;display:block;white-space:normal!important;padding:0 17px 16px 2px;line-height:1.16!important;overflow:visible!important;-webkit-box-decoration-break:clone;box-decoration-break:clone}
body.sw-home .sw-hero-copy h1 span{line-height:1.12;display:block;padding-bottom:7px}
body.sw-home .sw-hero-copy p{margin:0 0 28px;line-height:1.65}
body.sw-home .sw-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
/* PNG has real alpha: no rectangular backdrop and no masking away decorative ribbon */
body.sw-home .sw-art{display:flex;align-items:center;justify-content:center;overflow:visible!important;margin:0 -15px 0 0;align-self:center;grid-row:1/3;grid-column:2}
body.sw-home .sw-art:before,body.sw-home .sw-art:after{content:none!important}
body.sw-home .sw-art img{width:100%;height:auto;max-height:min(72svh,750px);object-fit:contain;transform:none!important;mask-image:none!important;-webkit-mask-image:none!important;mix-blend-mode:normal!important;filter:drop-shadow(0 10px 12px rgba(143,119,63,.09))}
/* Pull capability row up, but keep clear of buttons. */
body.sw-home .sw-capabilities{grid-column:1;grid-row:2;align-self:end;display:flex;position:relative;margin:0 0 21px;padding:0;min-height:60px;gap:0}
body.sw-home .sw-capabilities>div{padding:0 10px;gap:8px;min-width:0}
body.sw-home .sw-capabilities>div:first-child{padding-left:0}
body.sw-home .sw-capabilities strong{font-size:clamp(9px,.79vw,11px);white-space:nowrap}
body.sw-home .sw-capabilities svg{width:30px;height:30px}
/* Bring platinum information band up into gold ribbon, establish continuous gold/silver joint. */
body.sw-home .sw-trust-outer{padding:0 0 58px;position:relative;margin-top:-14px;isolation:isolate;z-index:4}
body.sw-home .sw-trust{position:relative;border:1px solid var(--ww-line)!important;border-bottom:3px solid #bd911e!important;border-radius:31px;background:linear-gradient(155deg,rgba(255,255,255,.97),rgba(238,241,247,.91) 50%,rgba(253,253,255,.96))!important;box-shadow:0 9px 20px rgba(78,86,110,.10),inset 0 2px 2px #fff!important;min-height:122px;overflow:visible}
body.sw-home .sw-trust:before{content:'';pointer-events:none;position:absolute;left:-1.7%;right:-1.7%;bottom:17px;height:30px;border-radius:50%;border-bottom:6px solid transparent;background:linear-gradient(95deg,#ad7811,#fff0a8 36%,#c98f12 56%,#e7bb46);clip-path:polygon(0 67%,25% 92%,50% 90%,78% 75%,100% 25%,100% 57%,78% 100%,50% 100%,25% 100%,0 91%);opacity:.85;z-index:-1;filter:drop-shadow(0 2px 3px rgba(130,91,13,.2))}
body.sw-home .sw-trust>div{padding:0 22px}
body.sw-home .sw-trust strong{font-size:clamp(20px,1.75vw,28px)}
html[data-theme=dark] body.sw-home .sw-trust{background:var(--ww-surface)!important;box-shadow:0 10px 25px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.12)!important}
/* Corporate six-card expertise: gilt edge, bright glass surface, subtle glare and readable depth */
body.sw-home .sw-service-card,body:not(.sw-home) .cms-tile{border:1px solid #cbb780!important;background:var(--ww-surface)!important;border-radius:25px;min-height:190px;overflow:hidden;box-shadow:0 8px 17px rgba(66,72,87,.095),inset 0 2px 1px rgba(255,255,255,.9)!important;transition:transform .2s,box-shadow .2s!important}
body.sw-home .sw-service-card:before,body:not(.sw-home) .cms-tile:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(132deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.08) 36%,transparent 63%),linear-gradient(155deg,transparent 73%,rgba(252,222,141,.2) 93%);z-index:0}
body.sw-home .sw-service-card:after,body:not(.sw-home) .cms-tile:after{content:'';position:absolute;right:-28%;bottom:12px;height:18px;width:112%;transform:rotate(-16deg);background:linear-gradient(180deg,#fff8d6 1%,#f6d169 35%,#b47a0b 83%,#fff0a6 100%);box-shadow:0 1px 5px rgba(118,89,11,.17);border-radius:100%;opacity:.65;pointer-events:none}
body.sw-home .sw-service-card:hover,body:not(.sw-home) .cms-tile:hover{transform:translateY(-5px);box-shadow:0 13px 23px rgba(90,85,65,.16),inset 0 2px 1px #fff!important}
body.sw-home .sw-service-card>*{position:relative;z-index:1}
body.sw-home .sw-service-card .sw-card-arrow{z-index:2}
html[data-theme=dark] body.sw-home .sw-service-card,html[data-theme=dark] body:not(.sw-home) .cms-tile{border-color:#8b753d!important;box-shadow:0 8px 18px rgba(0,0,0,.27)!important}
html[data-theme=dark] body.sw-home .sw-service-card:before{opacity:.09}
/* New corporate sections */
.ww-sector,.ww-reasons,.ww-faq{padding-bottom:86px}
.ww-sector-grid,.ww-reasons-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ww-sector-grid>article,.ww-reasons-grid>article{position:relative;overflow:hidden;min-height:210px;border:1px solid var(--ww-line);border-radius:22px;padding:26px;background:var(--ww-surface);box-shadow:inset 0 1px rgba(255,255,255,.5),0 6px 16px rgba(68,75,92,.065)}
.ww-sector-grid span,.ww-reasons-grid b{font-size:12px;letter-spacing:.13em;color:var(--ww-gold);font-weight:800}
.ww-sector-grid h3,.ww-reasons-grid h3{font-size:21px;margin:18px 0 9px;line-height:1.2}
.ww-sector-grid p,.ww-reasons-grid p{color:var(--ww-muted);font-size:14px;line-height:1.68;margin:0}
.ww-reasons{display:grid;grid-template-columns:1fr 1.5fr;gap:44px;align-items:center}.ww-reasons>div:first-child h2{font-size:clamp(30px,3.3vw,47px);line-height:1.15;letter-spacing:-.05em}.ww-reasons>div:first-child h2 em{font-style:normal;color:var(--ww-gold)}.ww-reasons>div:first-child p{color:var(--ww-muted);line-height:1.75}.ww-reasons-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ww-reasons-grid article{min-height:175px}
.ww-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ww-faq-grid details{border:1px solid var(--ww-line);border-radius:16px;padding:21px 24px;background:var(--ww-surface)}.ww-faq-grid summary{font-weight:750;cursor:pointer}.ww-faq-grid p{color:var(--ww-muted);line-height:1.7}
.ww-contact-ribbon{background:var(--ww-sheen);border-block:1px solid var(--ww-line);padding:64px 0 72px;margin-bottom:55px;position:relative;overflow:hidden}.ww-contact-ribbon:before{content:'';position:absolute;top:0;left:-20px;right:-20px;height:6px;background:linear-gradient(90deg,#f8d976,#b98112,#fff3b5,#b98112)}.ww-contact-inner{display:flex;align-items:center;justify-content:space-between;gap:38px}.ww-contact-inner h2{font-size:clamp(28px,3vw,44px);max-width:580px;line-height:1.18;letter-spacing:-.05em}.ww-contact-inner p{color:var(--ww-muted)}.ww-contact-actions{display:flex;gap:12px;flex-wrap:wrap}
/* Public inside page hero: built from same banner language without replacing app functionality. */
body.has-wow-banner .page-hero{display:none!important}
.ww-inner-banner{position:relative;margin:0 0 34px;background:var(--ww-silk);isolation:isolate;padding:clamp(38px,5vw,66px) 0 50px;overflow:hidden}
.ww-inner-banner:after{content:'';position:absolute;bottom:20px;left:0;right:0;height:8px;background:linear-gradient(90deg,#c38c19 5%,#fff2b2 27%,#c38b12 64%,#f4c955 95%);transform:skewY(-1.7deg);z-index:-1;opacity:.78;filter:drop-shadow(0 4px 5px rgba(120,94,39,.11))}
.ww-inner-banner-grid{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);gap:22px;align-items:center;min-height:clamp(285px,33vw,450px)}
.ww-inner-copy{padding:14px 8px 25px 0}.ww-eyebrow{font-size:11px;letter-spacing:.23em;font-weight:850;color:var(--ww-gold)}.ww-inner-copy h1{font-size:clamp(34px,4.2vw,65px);line-height:1.12;letter-spacing:-.059em;margin:18px 0;color:var(--ww-text);text-wrap:balance}.ww-inner-copy p{line-height:1.7;color:var(--ww-muted);font-size:clamp(15px,1.2vw,19px);max-width:490px}.ww-inner-cta{display:inline-flex;margin-top:10px;padding:13px 21px;border-radius:12px;color:#fff!important;font-weight:750;text-decoration:none;background:linear-gradient(175deg,#ffe6a1 0%,#e2b850 30%,#b47b10 85%);border:1px solid #a77912;box-shadow:inset 0 2px #fff6,0 4px 8px #99804127}.ww-inner-visual{position:relative}.ww-inner-visual img{width:100%;max-height:445px;height:auto;object-fit:cover;aspect-ratio:16/10;border-radius:55px 130px 55px 80px;border:2px solid #e0b142;box-shadow:inset 0 2px #fff,0 8px 16px rgba(100,90,75,.1)}
body:not(.sw-home) .cms-grid{gap:24px!important}body:not(.sw-home) .cms-tile{position:relative;display:flex;flex-direction:column;min-height:255px!important;padding:32px!important}body:not(.sw-home) .cms-tile>*{position:relative;z-index:1}body:not(.sw-home) .cms-tile h2{color:var(--ww-text);font-size:clamp(20px,2vw,30px);letter-spacing:-.04em}body:not(.sw-home) .cms-tile p{color:var(--ww-muted);font-size:16px;line-height:1.65}body:not(.sw-home) .cms-tile strong{margin-top:auto;color:var(--ww-gold)}
body:not(.sw-home) :is(.p10-card,.q8-panel,.p9-card,.form-card){background:var(--ww-surface)!important;border:1px solid var(--ww-line)!important;color:var(--ww-text)!important;box-shadow:0 8px 22px rgba(65,73,95,.08)!important}
body:not(.sw-home) :is(.p10-page,.p9-section,.section.light){background:transparent!important}
body:not(.sw-home) .refreshed-header :is(a,button){color:var(--ww-text)}
html[data-theme=dark] body:not(.sw-home) .refreshed-header :is(.desktop-nav a,.mobile-nav a){color:#f6f7f9!important}
html[data-theme=dark] .ww-inner-banner{background:var(--ww-silk)!important}
/* desktop and responsive corrections */
@media(min-width:781px) and (max-width:1280px){body.sw-home .sw-hero-copy h1{font-size:clamp(54px,6vw,78px)}body.sw-home .sw-capabilities>div{padding:0 7px}body.sw-home .sw-capabilities svg{width:26px;height:26px}body.sw-home .sw-art{margin-right:-5px}}
@media(max-width:1100px){.ww-sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ww-reasons{grid-template-columns:1fr}.ww-contact-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:780px){body.sw-home .sw-hero{min-height:0;display:flex;flex-direction:column;padding-top:35px}body.sw-home .sw-hero-copy{align-self:stretch;padding:0}body.sw-home .sw-hero-copy h1{font-size:clamp(49px,10vw,78px);line-height:1.12!important}body.sw-home .sw-art{margin:22px 0;align-self:stretch;width:100%}body.sw-home .sw-art img{max-height:none}body.sw-home .sw-capabilities{align-self:stretch;flex-wrap:wrap;margin:0;padding:8px 0 24px;gap:12px}body.sw-home .sw-capabilities>div{flex:1 1 42%;border-right:0}body.sw-home .sw-trust-outer{margin-top:0}body.sw-home .sw-trust{min-height:0}.ww-inner-banner-grid{grid-template-columns:1fr}.ww-inner-visual img{max-height:300px}.ww-sector-grid,.ww-reasons-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ww-faq-grid{grid-template-columns:1fr}}
@media(max-width:520px){body.sw-home .sw-hero-copy h1{font-size:clamp(45px,11vw,64px)}body.sw-home .sw-hero-copy h1 em{padding-right:22px}body.sw-home .sw-capabilities strong{font-size:11px}.ww-sector-grid,.ww-reasons-grid{grid-template-columns:1fr}.ww-sector,.ww-reasons,.ww-faq{padding-bottom:50px}.ww-inner-banner{padding-top:26px}.ww-inner-visual img{border-radius:32px 75px 32px 40px}.ww-contact-ribbon{padding:42px 0}}
@media(prefers-reduced-motion:reduce){.sw-service-card,.cms-tile{transition:none!important}}
