/* SUNASOL UI V7 — real clickable cards and continuous silk; loaded after V6 CSS. */
:root{--ui7-gold:#bb8718;--ui7-text:#22252e;--ui7-muted:#535b68;--ui7-silk:linear-gradient(114deg,#fff 0%,#fafbfe 33%,#f1f3f9 68%,#fff 100%);--ui7-panel:linear-gradient(150deg,#fff 0%,#f8f9fc 42%,#e5e8f1 84%,#fff 100%)}
html[data-theme=dark]{--ui7-gold:#efc65b;--ui7-text:#f5f6fa;--ui7-muted:#cbd0dc;--ui7-silk:linear-gradient(112deg,#151820,#272a34 55%,#191c25);--ui7-panel:linear-gradient(150deg,#393d49,#282c37 56%,#333844)}
body.sw-home,body.sw-inside{background:var(--ui7-silk)!important;color:var(--ui7-text)!important;background-attachment:fixed!important}
/* Homepage: gold ribbon ends at the plaque, not in a dangling line. */
body.sw-home .sw-trust:before,body.sw-home .sw-trust:after{content:none!important;display:none!important}
body.sw-home .sw-trust-outer:before,body.sw-home .sw-trust-outer:after{content:none!important;display:none!important}
body.sw-home .sw-trust{isolation:isolate;z-index:3;box-shadow:inset 0 2px 2px #ffffffb5,0 7px 15px #60697e18!important}
body.sw-home .sw-hero{padding-bottom:0!important}
body.sw-home .sw-capabilities{transform:translateY(-20px);margin-bottom:45px!important}
body.sw-home .sw-trust-outer{margin-top:-56px!important;padding-bottom:54px!important}
/* Home service tiles: actual links, readable copy, larger content padding and authentic bevelled gold/silver surfaces. */
body.sw-home .sw-cards{gap:16px}
body.sw-home .sw-service-card{min-height:238px!important;padding:27px 23px 42px!important;gap:18px;border:2px solid #d4aa48!important;border-radius:25px!important;background:var(--ui7-panel)!important;box-shadow:0 9px 16px #30354119,inset 2px 2px 2px #fff9,inset -2px -3px 6px #a3aabb32!important;text-decoration:none;position:relative;isolation:isolate}
body.sw-home .sw-service-card:before{content:'';position:absolute;inset:3px;border-radius:21px;border:1px solid #fff9;pointer-events:none;z-index:0}
body.sw-home .sw-service-card:after{opacity:.55!important;bottom:5px!important;right:-40%!important;height:10px!important}
body.sw-home .sw-service-card .sw-card-symbol{font-size:39px!important;line-height:1.2}
body.sw-home .sw-service-card strong{font-size:clamp(15px,1.14vw,18px);line-height:1.33;max-width:none!important;margin-bottom:10px}
body.sw-home .sw-service-card small{font-size:13px;line-height:1.55;max-width:none!important;color:var(--ui7-muted)!important;margin:0}
body.sw-home .sw-service-card .sw-card-arrow{right:18px;bottom:15px;left:auto;top:auto;width:31px;height:31px;box-shadow:0 3px 5px #5d471326}
body.sw-home .sw-service-card:hover,body.sw-home .sw-service-card:focus-visible{transform:translateY(-5px);border-color:#e4bc54!important;box-shadow:0 15px 25px #7c66243d,inset 2px 2px 2px #fff9!important}
/* Inside banners are white/silk and distinct from the homepage; no boxed stage. */
body.sw-inside .ww-inner-banner{background:transparent!important;border:0!important;box-shadow:none!important}
body.sw-inside .ww-inner-banner:before,body.sw-inside .ww-inner-banner:after{content:none!important;display:none!important}
body.sw-inside .ww-inner-visual{background:transparent!important;border:0!important;box-shadow:none!important}
body.sw-inside .ww-inner-visual img{background:transparent!important;mix-blend-mode:multiply}
html[data-theme=dark] body.sw-inside .ww-inner-visual img{mix-blend-mode:normal}
/* Services listing: CMS is the SINGLE source of cards, rather than a picture + a repeated list. */
body.sw-inside .ww-inner-services{padding:45px 0 8px!important;margin:0!important}
body.sw-inside .ww-inner-services .ww-inner-banner-grid{display:block!important;min-height:0!important}
body.sw-inside .ww-inner-services .ww-inner-copy{max-width:100%!important}
body.sw-inside .ww-inner-services .ww-inner-copy h1{font-size:clamp(37px,4.5vw,66px)!important}
body.sw-inside .ww-inner-services .ww-inner-visual{display:none!important}
body.sw-inside:has(.ww-inner-services) .section.light:has(.cms-grid){padding:22px 0 55px!important;background:transparent!important}
body.sw-inside .cms-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important;align-items:stretch}
body.sw-inside .cms-grid .cms-tile{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:34px 33px 52px!important;min-height:300px!important;border-radius:27px!important;border:2px solid #d0a44b!important;border-bottom:4px solid #b98519!important;background:var(--ui7-panel)!important;box-shadow:0 12px 22px #262f4017,inset 1px 2px #fff!important;text-decoration:none!important;overflow:hidden}
body.sw-inside .cms-grid .cms-tile:before{content:'';position:absolute;inset:4px;border:1px solid #ffffffc2;border-radius:21px;pointer-events:none}
body.sw-inside .cms-grid .cms-tile:after{content:'';position:absolute;left:-8%;right:-26%;bottom:6px;height:12px;transform:rotate(-14deg);border-radius:70%;background:linear-gradient(#fff9ce,#dcaf34 47%,#a16c0d);opacity:.64;pointer-events:none}
body.sw-inside .cms-grid .cms-tile .section-tag{color:var(--ui7-gold)!important;font-size:12px;letter-spacing:.19em;margin-bottom:24px}
body.sw-inside .cms-grid .cms-tile h3{color:var(--ui7-text)!important;font-size:clamp(22px,1.9vw,30px);line-height:1.22;letter-spacing:-.03em;margin:0 0 15px}
body.sw-inside .cms-grid .cms-tile p{color:var(--ui7-muted)!important;font-size:16px;line-height:1.65;margin:0 0 18px}
body.sw-inside .cms-grid .cms-tile strong{color:var(--ui7-gold)!important;margin-top:auto;font-size:16px;text-decoration:none}
body.sw-inside .cms-grid .cms-tile:hover,body.sw-inside .cms-grid .cms-tile:focus-visible{transform:translateY(-6px);box-shadow:0 18px 30px #54452530,inset 1px 2px #fff!important}
body.sw-inside .cms-grid .cms-tile:focus-visible,body.sw-home .sw-service-card:focus-visible{outline:3px solid #bd8b20;outline-offset:4px}
/* Dark theme texts and header legibility throughout public pages. */
html[data-theme=dark] body.sw-inside .cms-grid .cms-tile{border-color:#ad8b48!important}
html[data-theme=dark] body.sw-inside .cms-grid .cms-tile:before{border-color:#ffffff2b}
html[data-theme=dark] body.sw-inside .cms-grid .cms-tile:after{opacity:.18}
html[data-theme=dark] :is(.sw-home,.sw-inside) .sw-nav a{color:#f4f5f8!important}
html[data-theme=dark] :is(.sw-home,.sw-inside) .sw-nav a:hover{color:#f2c76f!important}
@media(max-width:1400px){body.sw-home .sw-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){body.sw-inside .cms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.sw-home .sw-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){body.sw-home .sw-capabilities{transform:none;margin:12px 0 16px!important}body.sw-home .sw-trust-outer{margin-top:0!important}body.sw-home .sw-service-card{min-height:210px!important;padding:23px 18px 42px!important}body.sw-inside .cms-grid{grid-template-columns:1fr}body.sw-inside .cms-grid .cms-tile{min-height:250px!important;padding:28px 25px 45px!important}body.sw-inside .ww-inner-services{padding-top:24px!important}}
