/* Consult Spaces V40: one shared fixed header + targeted spacing repair */
:root{--cs-header-height:124px;--cs-navy:#073d5a;--cs-ink:#082b43;--cs-green:#6fa052;--cs-teal:#0795b2;--cs-line:#d9e6ec}
html{scroll-padding-top:calc(var(--cs-header-height) + 12px)}
body{padding-top:var(--cs-header-height)!important;margin:0!important}
.svg-sprite{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;visibility:hidden!important}
.ui-icon{width:18px;height:18px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.site-header.home3-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:99999!important;background:#fff!important;border-bottom:1px solid var(--cs-line)!important;box-shadow:0 5px 20px rgba(7,58,87,.09)!important;transform:none!important;margin:0!important;overflow:visible!important}
.home3-container{width:min(1460px,calc(100% - 64px));margin-inline:auto}
.home3-topbar{background:linear-gradient(90deg,#064d6c,#6f9b55);color:#fff}
.home3-topbar-inner{height:36px;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:13px;font-weight:600}
.home3-topbar-inner>div{display:flex;align-items:center;gap:22px}.home3-topbar a,.cs-topbar-address{display:flex;align-items:center;gap:7px;color:#fff!important;text-decoration:none}
.home3-navbar{height:88px;display:flex;align-items:center;gap:28px}.home3-logo{display:flex;align-items:center;flex:none}.home3-logo img{width:178px;height:60px;object-fit:contain}
.home3-nav{margin-left:auto;display:flex;align-items:center;gap:25px}.home3-nav>a,.nav-drop>a{color:#0b263b!important;text-decoration:none;font-size:14px;font-weight:700;display:flex;align-items:center;gap:5px;white-space:nowrap;padding:32px 0}.home3-nav>a:hover,.nav-drop>a:hover,.home3-nav>a.active,.nav-drop>a.active{color:var(--cs-teal)!important}
.nav-drop{position:relative}.nav-drop:after{content:"";position:absolute;left:0;right:0;top:66px;height:25px}.mega{position:absolute;top:77px;left:-22px;width:420px;display:grid!important;grid-template-columns:1fr 1fr;gap:24px;padding:22px;background:#fff;border:1px solid var(--cs-line);border-radius:16px;box-shadow:0 20px 50px rgba(8,43,67,.16);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s;pointer-events:none}.nav-drop:hover .mega,.nav-drop:focus-within .mega{opacity:1;visibility:visible;transform:none;pointer-events:auto}.mega.compact{width:270px;grid-template-columns:1fr}.mega strong{display:block;margin-bottom:7px;color:var(--cs-ink)}.mega a{display:block;color:#516a7b!important;text-decoration:none;padding:6px 0;font-size:13px}.mega a:hover{color:var(--cs-teal)!important}
.home3-btn{min-height:48px;padding:0 21px;border:1px solid transparent;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;font-weight:800;white-space:nowrap}.home3-btn-primary{background:linear-gradient(135deg,var(--cs-green),var(--cs-teal));color:#fff!important;box-shadow:0 10px 24px rgba(7,149,178,.18)}.menu-toggle,.mobile-nav{display:none}
.site-header.cs-header-scrolled{box-shadow:0 9px 30px rgba(7,58,87,.16)!important}
/* Remove legacy spacer/offset remnants. */
.cs-header-spacer,.cs-header-spacer-v32,.cs-header-spacer-v33,.cs-header-spacer-v34{display:none!important;height:0!important;margin:0!important;padding:0!important}
main{margin-top:0!important}
/* Compact homepage project-card vertical rhythm without changing design. */
body.home-v4 .cs9-project-grid{align-items:start!important}
body.home-v4 .cs9-project-grid .home-project-card{height:auto!important;min-height:0!important;align-self:start!important}
body.home-v4 .cs9-project-grid .home-project-body{display:block!important;height:auto!important;min-height:0!important;padding:18px 22px 20px!important}
body.home-v4 .cs9-project-grid .home-project-body h3{min-height:0!important;margin:0 0 10px!important;line-height:1.3!important}
body.home-v4 .cs9-project-grid .project-location{min-height:0!important;margin:0 0 12px!important;line-height:1.4!important}
body.home-v4 .cs9-project-grid .project-price{margin:0 0 7px!important}
body.home-v4 .cs9-project-grid .project-config{min-height:0!important;margin:0 0 12px!important}
body.home-v4 .cs9-project-grid .home-project-actions{margin-top:10px!important}
/* Project listing cards: remove artificial vertical stretching. */
main .project-grid{align-items:start!important}
main .project-card{height:auto!important;min-height:0!important;align-self:start!important}
main .project-card .project-content{height:auto!important;min-height:0!important}
/* Inner page hero readable and compact. */
main .page-hero,main .page-hero.compact{min-height:260px!important;padding:52px 0!important;display:flex!important;align-items:center!important}
main .page-hero h1,main .page-hero.compact h1{color:#073a57!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
main .page-hero p{color:#5f7688!important;opacity:1!important;visibility:visible!important}
@media(max-width:1180px){.home3-nav{display:none!important}.menu-toggle{display:grid!important;margin-left:auto;width:46px;height:46px;border:1px solid var(--cs-line);background:#fff;border-radius:10px;place-items:center}.header-cta{margin-left:auto}.mobile-nav.open{display:flex!important;position:absolute;top:124px;left:0;right:0;background:#fff;padding:18px 32px;flex-direction:column;gap:12px;border-top:1px solid var(--cs-line);box-shadow:0 18px 35px rgba(8,43,67,.15)}}
@media(max-width:780px){:root{--cs-header-height:72px}.home3-container{width:min(100% - 32px,1460px)}.home3-topbar{display:none}.home3-navbar{height:72px}.home3-logo img{width:150px}.header-cta{display:none}.mobile-nav.open{top:72px}.mobile-nav a{color:var(--cs-ink)!important;text-decoration:none;font-weight:700}}
