/* SUNASOL V5 — coherent design reconciliation. Business logic unchanged. */
:root{--v5-ink:#22252e;--v5-muted:#5c626f;--v5-silk:linear-gradient(125deg,#ffffff 0%,#fbfcfe 28%,#f3f5fa 65%,#ffffff 100%);--v5-silver:linear-gradient(142deg,#fff 0%,#f9fafe 27%,#e4e8f0 66%,#fff 100%);--v5-line:#d1d5de}
html[data-theme=dark]{--v5-ink:#f5f6fa;--v5-muted:#d2d6e1;--v5-silk:linear-gradient(120deg,#151821 0%,#232731 48%,#191c24 100%);--v5-silver:linear-gradient(140deg,#353b46,#242932 55%,#30353f);--v5-line:#626976}
body.sw-home,body.sw-inside{background:var(--v5-silk)!important;color:var(--v5-ink)!important;background-attachment:fixed!important}
/* Exact same global header for home and inner pages, and theme-aware links */
.sw-header,.sw-inside .sw-header{background:transparent!important;border-bottom:0!important;position:relative;z-index:90;width:100%}
.sw-inside .sw-header-row{height:100px;max-width:none}
.sw-inside .sw-wrap{width:min(1390px,calc(100% - 100px));margin-inline:auto}
.sw-header-row{min-height:88px}
.sw-inside .sw-brand,.sw-brand{padding:0!important;margin:0!important;background:#020202!important;line-height:1;border-radius:8px}
.sw-inside .sw-brand img{width:100%;height:100%;object-fit:contain}
.sw-header .sw-nav a,.sw-inside .sw-nav a,.sw-header .sw-icon-action{color:var(--v5-ink)!important;text-decoration:none!important}
.sw-header .sw-nav a:is(:hover,.is-current){color:#b1811d!important}
html[data-theme=dark] .sw-header .sw-nav a:is(:hover,.is-current){color:#ffe0a0!important}
.sw-header .sw-brand-caption{color:var(--v5-ink)!important}
.sw-header .sw-theme,.sw-header .sw-hamburger{color:var(--v5-ink)!important;background:var(--v5-silver)!important;border-color:var(--v5-line)!important}
.sw-header .sw-portal{color:#ffffff!important;text-decoration:none!important}
.sw-header .sw-nav.is-open{background:var(--v5-silver)!important;border:1px solid var(--v5-line)}
/* Homepage: breathable but balanced two-column composition; prevent clipping of the 'y'. */
body.sw-home .sw-hero{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);grid-template-rows:auto auto;min-height:clamp(635px,77svh,855px);padding-top:clamp(30px,5vh,55px);padding-bottom:0;align-items:center;overflow:visible!important;position:relative;isolation:isolate}
body.sw-home .sw-hero-copy{align-self:center;padding:0 20px 0 0;z-index:3;min-width:0;grid-column:1;grid-row:1}
body.sw-home .sw-hero-copy h1{font-size:clamp(60px,6.05vw,102px);line-height:1.12!important;margin:20px 0 26px!important;padding:0 22px 19px 0!important;overflow:visible!important;letter-spacing:-.065em}
body.sw-home .sw-hero-copy h1 em{font-size:.93em;line-height:1.14!important;padding:0 19px 22px 1px!important;max-width:100%;white-space:normal!important;overflow:visible!important;letter-spacing:-.068em}
body.sw-home .sw-hero-copy h1 span{line-height:1.13!important;padding-bottom:6px}
body.sw-home .sw-hero-copy p{font-size:clamp(16px,1.38vw,21px);line-height:1.55;margin-bottom:30px}
body.sw-home .sw-actions{display:flex;align-items:center;justify-content:flex-start;gap:17px;flex-wrap:wrap;margin-bottom:0}
body.sw-home .sw-art{grid-column:2;grid-row:1/3;align-self:center;justify-self:stretch;margin:-18px -22px -40px -10px!important;overflow:visible!important;max-height:none;z-index:2;display:block}
body.sw-home .sw-art:before{display:none!important}
body.sw-home .sw-art img{display:block;width:100%;height:auto;max-height:min(72svh,710px);object-fit:contain;mix-blend-mode:normal!important;mask-image:none!important;-webkit-mask-image:none!important;transform:none!important;filter:none!important}
body.sw-home .sw-capabilities{grid-column:1;grid-row:2;align-self:end;justify-self:start;display:flex;align-items:center;min-height:58px;margin:4px 0 67px!important;transform:translateY(-21px);padding:0!important;z-index:4;position:relative}
body.sw-home .sw-capabilities>div{padding:0 10px;gap:8px;min-width:0;min-height:48px}
body.sw-home .sw-capabilities>div:first-child{padding-left:0}
body.sw-home .sw-capabilities>div:last-child{border-right:0}
body.sw-home .sw-capabilities svg{width:29px;height:29px;flex:0 0 29px}
body.sw-home .sw-capabilities strong{font-size:clamp(9px,.81vw,11px);white-space:nowrap;line-height:1.35}
/* Raise platinum panel to touch the decorative gold sweep; don't overlay its text. */
body.sw-home .sw-trust-outer{margin-top:-73px!important;padding:0 0 48px!important;position:relative;z-index:5;background:transparent!important}
body.sw-home .sw-trust{min-height:128px;position:relative;border:1px solid #ccd1dc!important;border-bottom:3px solid #d2a32e!important;border-radius:34px!important;background:var(--v5-silver)!important;box-shadow:0 7px 12px rgba(78,86,103,.09),inset 0 2px 4px #fff!important;overflow:visible}
body.sw-home .sw-trust:before{content:'';position:absolute;left:-1.2%;right:-1.2%;bottom:5px;height:8px;background:linear-gradient(90deg,#c28c1b 0%,#fff3ae 30%,#ac7314 56%,#f9d766 88%,#b7810b 100%);border-radius:60%;filter:blur(1px);z-index:-1;pointer-events:none}
body.sw-home .sw-trust>div{min-width:0;padding:0 clamp(8px,1.2vw,24px);gap:clamp(8px,1.1vw,16px)}
body.sw-home .sw-trust strong{color:var(--v5-ink)!important;font-size:clamp(19px,1.73vw,28px)}
body.sw-home .sw-trust small{color:var(--v5-muted)!important}
html[data-theme=dark] body.sw-home .sw-trust{border-color:#646c7a!important;box-shadow:0 8px 18px #0004,inset 0 1px #ffffff24!important}
/* Luxury service cards: reflected silver + bevelled gilt edges, not generic flat boxes. */
body.sw-home .sw-service-card,.sw-inside .cms-tile{background:var(--v5-silver)!important;border:1px solid #ceac67!important;border-bottom:3px solid #c89724!important;border-radius:24px!important;box-shadow:0 7px 15px #46546c16,inset 0 2px #fff!important;overflow:hidden}
body.sw-home .sw-service-card:after,.sw-inside .cms-tile:after{opacity:.35!important}
body.sw-home .sw-service-card{min-height:185px}
body.sw-home .sw-service-card strong,body.sw-home .sw-service-card small{color:var(--v5-ink)!important}
html[data-theme=dark] body.sw-home .sw-service-card,html[data-theme=dark] .sw-inside .cms-tile{border-color:#947a41!important;box-shadow:0 8px 18px #0005!important}
/* All corporate inside page banners are silk-white and use image as visual accent, not a generic rectangle. */
body.sw-inside .ww-inner-banner{background:transparent!important;padding:clamp(52px,5.5vw,78px) 0 52px!important;margin:0 0 32px!important;overflow:visible!important}
body.sw-inside .ww-inner-banner:after{bottom:17px!important;height:7px!important;z-index:-1!important;opacity:.78}
body.sw-inside .ww-inner-banner-grid{grid-template-columns:minmax(0,42%) minmax(0,58%);min-height:clamp(330px,33vw,450px);align-items:center;gap:28px}
body.sw-inside .ww-inner-copy{padding:12px 16px 12px 0}
body.sw-inside .ww-inner-copy h1{font-weight:800;color:var(--v5-ink);line-height:1.12;letter-spacing:-.052em}
body.sw-inside .ww-inner-copy p{color:var(--v5-muted)!important}
body.sw-inside .ww-inner-visual img{width:100%;height:auto;max-height:450px;object-fit:contain;aspect-ratio:auto;border:0!important;border-radius:0!important;box-shadow:none!important;mix-blend-mode:normal!important}
body.sw-inside .ww-services-visual img{width:100%;max-height:430px;object-fit:contain;filter:drop-shadow(0 4px 5px #6a6d7614)}
/* Section detail title cards retain the same language. */
body.sw-inside .cms-tile{padding:30px!important;min-height:235px!important}
body.sw-inside .cms-tile h2{color:var(--v5-ink)}
body.sw-inside .cms-tile p{color:var(--v5-muted)}
body.sw-inside .page-hero{display:none!important}
/* Protect dark theme links, form labels and buttons. */
html[data-theme=dark] .sw-inside :is(.cms-tile,.form-card,.p10-card,.q8-panel){color:var(--v5-ink)!important}
html[data-theme=dark] .sw-inside :is(.cms-tile p,.p10-muted,.muted){color:var(--v5-muted)!important}
:is(.sw-header a,.sw-header button,.ww-inner-banner a):focus-visible{outline:3px solid #c99124;outline-offset:4px}
@media(max-width:1350px) and (min-width:781px){.sw-inside .sw-wrap{width:min(1240px,calc(100% - 64px))}body.sw-home .sw-hero{grid-template-columns:minmax(0,45%) minmax(0,55%)}body.sw-home .sw-hero-copy h1{font-size:clamp(55px,6vw,87px)}body.sw-home .sw-capabilities svg{width:25px;height:25px;flex-basis:25px}body.sw-home .sw-capabilities>div{padding:0 7px}body.sw-home .sw-art{margin-right:-9px!important}}
@media(max-width:1100px) and (min-width:781px){.sw-inside .sw-brand-caption,.sw-inside .sw-separator{display:none}.sw-inside .sw-wrap{width:calc(100% - 46px)}body.sw-home .sw-capabilities{flex-wrap:wrap;max-width:100%;gap:6px}body.sw-home .sw-capabilities>div{flex-basis:48%;border:0}body.sw-home .sw-trust strong{font-size:17px}}
@media(max-width:780px){.sw-inside .sw-header-row{height:76px}.sw-inside .sw-wrap{width:calc(100% - 32px)}.sw-inside .sw-brand{width:145px;height:55px}.sw-header .sw-hamburger{display:inline-block}.sw-header .sw-nav{position:absolute;top:75px;left:16px;right:16px;width:auto;display:none;flex-direction:column;align-items:stretch;padding:18px 20px;z-index:100;box-shadow:0 12px 20px #1112}.sw-header .sw-nav.is-open{display:flex}.sw-inside .sw-header-row{gap:9px}.sw-inside .sw-icon-action{margin-left:auto}body.sw-home .sw-hero{display:flex;flex-direction:column;min-height:0;padding-top:36px;padding-bottom:25px}body.sw-home .sw-hero-copy{width:100%;padding:0}body.sw-home .sw-hero-copy h1{font-size:clamp(50px,9.9vw,78px)}body.sw-home .sw-art{margin:19px 0 0!important;max-height:none}body.sw-home .sw-art img{max-height:none}body.sw-home .sw-capabilities{align-self:stretch;flex-wrap:wrap;margin:10px 0 0!important;gap:10px}body.sw-home .sw-capabilities>div{flex:1 1 44%;border:0}body.sw-home .sw-trust-outer{margin-top:4px!important;padding-bottom:30px!important}body.sw-home .sw-trust{min-height:0}.sw-inside .ww-inner-banner-grid{grid-template-columns:1fr;gap:16px}.sw-inside .ww-inner-banner{padding:28px 0 38px!important}.sw-inside .ww-inner-visual img{max-height:330px}}
@media(max-width:500px){body.sw-home .sw-hero-copy h1{font-size:clamp(45px,10.8vw,63px)}body.sw-home .sw-hero-copy h1 em{padding-bottom:24px!important}body.sw-home .sw-capabilities strong{font-size:10px}body.sw-home .sw-capabilities>div{flex-basis:46%}.sw-inside .sw-icon-action{display:none}.sw-inside .sw-portal{font-size:11px;padding:9px 10px}.sw-inside .sw-theme{display:none}body.sw-home .sw-trust>div{padding:7px!important}}
@media(prefers-reduced-motion:reduce){body.sw-home .sw-service-card{transition:none!important}}

/* SERVICE PAGE: approved six-card premium gold/silver visual receives full-width stage. */
body.sw-inside .ww-inner-services{padding-top:44px!important;padding-bottom:50px!important}
body.sw-inside .ww-inner-services .ww-inner-banner-grid{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-height:0}
body.sw-inside .ww-inner-services .ww-inner-copy{width:100%;max-width:1000px;padding:0}
body.sw-inside .ww-inner-services .ww-inner-copy h1{font-size:clamp(40px,4.4vw,66px);margin:9px 0 6px}
body.sw-inside .ww-inner-services .ww-inner-copy p{max-width:880px;font-size:17px;margin:0 0 5px}
body.sw-inside .ww-inner-services .ww-inner-cta{margin-top:10px}
body.sw-inside .ww-inner-services .ww-inner-visual{width:100%;overflow:hidden;border-radius:28px}
body.sw-inside .ww-inner-services .ww-inner-visual img{width:100%;max-height:none;object-fit:contain;display:block;border:0;box-shadow:none;filter:none}
@media(max-width:780px){body.sw-inside .ww-inner-services .ww-inner-copy h1{font-size:39px}body.sw-inside .ww-inner-services .ww-inner-copy p{font-size:15px}body.sw-inside .ww-inner-services .ww-inner-visual{border-radius:14px}}
