/* Residential Asbestos Survey: shared rules Elementor has no site-wide control for.
   Colours come from Elementor Site Settings (global colour variables). */
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{font-variant-numeric:lining-nums;-webkit-font-smoothing:antialiased;overflow-x:hidden}
.elementor-widget-text-editor p{margin:0 0 14px}
.elementor-widget-text-editor p:last-child{margin-bottom:0}
.elementor-widget-text-editor a{text-decoration:underline;text-underline-offset:3px}
/* Keep the line breaks the design was set with (the theme turns on "pretty" wrapping) */
.elementor *{text-wrap:wrap}
.elementor-heading-title em{font-style:normal;color:var(--e-global-color-accent)}
a.e-con,.elementor-button,.elementor-heading-title a,.elementor-icon-list-item a,.xpro-elementor-button,.xpro-elementor-horizontal-navbar a{text-decoration:none}
a.e-con{color:inherit}
:focus-visible{outline:3px solid var(--e-global-color-accent);outline-offset:3px;border-radius:6px}
.ra-skip{position:absolute;left:-9999px;top:8px;background:var(--e-global-color-primary);color:#fff;padding:10px 14px;border-radius:8px;z-index:100}
body a.ra-skip,body a.ra-skip:hover,body a.ra-skip:focus{color:#fff}
.ra-skip:focus{left:12px}
#ra-main:focus{outline:none}
.ra-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Booking form thank-you summary (WPForms confirmation) */
.ra-done th{width:150px;font-weight:800;font-size:15.5px;color:var(--e-global-color-primary)}
.ra-done td{color:var(--e-global-color-text)}
.ra-done tr:has(td:empty){display:none}
@media (max-width:760px){.ra-done th,.ra-done td{display:block;width:auto;border-bottom:0!important;padding:2px 0!important}.ra-done tr{display:block;padding:9px 0;border-bottom:1px solid var(--e-global-color-raline)}}

/* =====================================================================
   MOTION SYSTEM: "the survey"
   Uncover · Mark · Draw · Stamp · Lift
   Triggers are Elementor's own Entrance Animation (it adds .animated when an
   element scrolls into view). The CSS classes below, set in Advanced > CSS
   Classes, choose how that entrance looks. Every animation fills "backwards"
   only, so once it ends the element is in its normal, editable state.
   ===================================================================== */
:root{--ra-ease:cubic-bezier(.2,.7,.2,1);--ra-ease-out:cubic-bezier(.16,1,.3,1);--ra-spring:cubic-bezier(.3,1.5,.5,1)}

@keyframes raRise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes raIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes raRow{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes raSettle{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* Uncover: content rises out of its own baseline */
@keyframes raMask{from{clip-path:inset(0 -6% 100% -6%);transform:translateY(100%)}to{clip-path:inset(-20% -6% -20% -6%);transform:none}}
/* Uncover a panel top-down (lifting a covering) */
@keyframes raUnfold{from{clip-path:inset(0 0 100% 0 round 14px);opacity:.35}to{clip-path:inset(0 0 0 0 round 14px);opacity:1}}
@keyframes raLeft{from{opacity:0;transform:translateX(-36px) rotate(-1.2deg)}to{opacity:1;transform:none}}
@keyframes raRight{from{opacity:0;transform:translateX(36px) rotate(1.2deg)}to{opacity:1;transform:none}}
/* Stamp: a result lands */
@keyframes raStamp{0%{opacity:0;transform:scale(1.45) rotate(-9deg)}55%{opacity:1;transform:scale(.93) rotate(1.5deg)}100%{opacity:1;transform:none}}
/* Draw */
@keyframes raGrowX{from{transform:scaleX(0)}to{transform:none}}
/* Mark: emphasis sweeps from ink to mulberry */
@keyframes raMark{
 from{color:transparent;-webkit-text-fill-color:transparent;background-image:linear-gradient(90deg,var(--e-global-color-accent) 0 50%,var(--e-global-color-primary) 50% 100%);background-size:200% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text}
 to{color:transparent;-webkit-text-fill-color:transparent;background-image:linear-gradient(90deg,var(--e-global-color-accent) 0 50%,var(--e-global-color-primary) 50% 100%);background-size:200% 100%;background-position:0 0;-webkit-background-clip:text;background-clip:text}}
@keyframes raPop{0%{transform:scale(.97)}55%{transform:scale(1.025)}100%{transform:none}}
@keyframes raRing{0%{box-shadow:0 0 0 0 rgba(122,35,72,.5)}100%{box-shadow:0 0 0 16px rgba(122,35,72,0)}}
@keyframes raGlow{0%{border-color:var(--e-global-color-rapink);box-shadow:0 0 0 4px rgba(233,185,201,.25)}100%{box-shadow:0 0 0 0 rgba(233,185,201,0)}}
@keyframes raZoomOut{from{transform:scale(1.08)}to{transform:none}}
@keyframes raProg{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* Base entrance (Elementor "Fade In Up") */
.elementor-element.animated.fadeInUp{animation-name:raRise;animation-duration:.7s;animation-timing-function:var(--ra-ease)}
.elementor-element.animated.fadeInUp.ra-in{animation-name:raIn}
.elementor-element.animated.fadeInUp.ra-row{animation-name:raRow;animation-duration:.5s;animation-timing-function:ease}
.elementor-element.animated.fadeInUp.ra-m-left{animation-name:raLeft;animation-duration:.8s}
.elementor-element.animated.fadeInUp.ra-m-right{animation-name:raRight;animation-duration:.8s}
.elementor-element.animated.fadeInUp.ra-m-unfold{animation-name:raUnfold;animation-duration:.9s;animation-timing-function:var(--ra-ease-out)}

/* Uncover headings: on the heading itself or inside an entering container */
.animated .ra-m-mask :is(.elementor-heading-title,.xpro-post-title),
.ra-m-mask.animated :is(.elementor-heading-title,.xpro-post-title){animation:raMask .95s var(--ra-ease-out) .08s backwards}
.ra-m-mask.animated{animation-name:raSettle!important;animation-duration:.4s!important}

/* Mark the emphasised words once their heading is in */
.animated .elementor-heading-title em,
.elementor-element.animated .elementor-heading-title em{animation:raMark .9s var(--ra-ease) .55s backwards}

/* Home hero headline: each line uncovers from its own baseline, then "before 2000." is marked */
/* First screen: what is already in view when the page opens plays its entrance from CSS on load, so it
   paints straight away instead of waiting for scripts (keeps Largest Contentful Paint fast).
   Entrances start at opacity .01 and a part-open mask, which browsers count as painted. */
@keyframes raLoadIn{from{opacity:.01;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes raLoadMask{from{clip-path:inset(0 -6% 90% -6%);transform:translateY(60%)}to{clip-path:inset(-20% -6% -20% -6%);transform:none}}
.ra-load{animation:raLoadIn .7s var(--ra-ease) backwards}
.ra-load.ra-d1{animation-delay:.2s}.ra-load.ra-d2{animation-delay:.3s}.ra-load.ra-d3{animation-delay:.4s}
.ra-load-mask :is(.elementor-heading-title,.xpro-post-title){animation:raLoadMask .95s var(--ra-ease-out) .05s backwards}
.ra-load-mask .elementor-heading-title em{animation:raMark .9s var(--ra-ease) .55s backwards}
.ra-load-unfold{animation:raUnfold .9s var(--ra-ease-out) .3s backwards}
.ra-load-unfold.ra-m-stagger>*{animation:raRow .55s var(--ra-ease) backwards}
.ra-load-unfold.ra-m-stagger>:nth-child(1){animation-delay:.42s}.ra-load-unfold.ra-m-stagger>:nth-child(2){animation-delay:.5s}.ra-load-unfold.ra-m-stagger>:nth-child(3){animation-delay:.58s}.ra-load-unfold.ra-m-stagger>:nth-child(4){animation-delay:.66s}.ra-load-unfold.ra-m-stagger>:nth-child(n+5){animation-delay:.74s}
.ra-feature.ra-load,.ra-postgrid.ra-load{animation:none}
.ra-feature.ra-load img{animation:raZoomOut 1.4s var(--ra-ease-out) backwards}
.ra-postgrid.ra-load .cbp-item{animation:raLoadIn .7s var(--ra-ease) backwards}
.ra-postgrid.ra-load .cbp-item:nth-child(2){animation-delay:.08s}.ra-postgrid.ra-load .cbp-item:nth-child(3){animation-delay:.16s}.ra-postgrid.ra-load .cbp-item:nth-child(n+4){animation-delay:.24s}
.ra-postgrid.ra-load .xpro-post-grid-image img{animation:raZoomOut 1.2s var(--ra-ease-out) backwards}
@media (max-width:760px){.ra-load-mask :is(.elementor-heading-title,.xpro-post-title){animation-name:raLoadIn}}

.ra-h1 .elementor-heading-title>span{display:block;animation:raLoadMask 1s var(--ra-ease-out) backwards}
.ra-h1 .elementor-heading-title>span:nth-child(1){animation-delay:.05s}
.ra-h1 .elementor-heading-title>span:nth-child(2){animation-delay:.17s}
.ra-h1 .elementor-heading-title>span:nth-child(3){animation-delay:.29s}
.ra-h1 .elementor-heading-title em{animation:raMark 1s var(--ra-ease) .95s backwards}

/* Stagger: children of a container arrive one by one */
.animated .ra-m-stagger>*,.ra-m-stagger.animated>*{animation:raRow .55s var(--ra-ease) backwards}
.animated .ra-m-stagger>:nth-child(1),.ra-m-stagger.animated>:nth-child(1){animation-delay:.12s}
.animated .ra-m-stagger>:nth-child(2),.ra-m-stagger.animated>:nth-child(2){animation-delay:.2s}
.animated .ra-m-stagger>:nth-child(3),.ra-m-stagger.animated>:nth-child(3){animation-delay:.28s}
.animated .ra-m-stagger>:nth-child(4),.ra-m-stagger.animated>:nth-child(4){animation-delay:.36s}
.animated .ra-m-stagger>:nth-child(5),.ra-m-stagger.animated>:nth-child(5){animation-delay:.44s}
.animated .ra-m-stagger>:nth-child(6),.ra-m-stagger.animated>:nth-child(6){animation-delay:.52s}
.animated .ra-m-stagger>:nth-child(n+7),.ra-m-stagger.animated>:nth-child(n+7){animation-delay:.6s}
/* A panel that unfolds first lets its rows follow a little later */
.ra-m-unfold.ra-m-stagger.animated>*{animation-duration:.6s}
.ra-m-unfold.ra-m-stagger.animated>:nth-child(n){animation-delay:calc(.35s + var(--ra-i,0)*.08s)}
.ra-m-unfold.ra-m-stagger.animated>:nth-child(2){--ra-i:1}.ra-m-unfold.ra-m-stagger.animated>:nth-child(3){--ra-i:2}
.ra-m-unfold.ra-m-stagger.animated>:nth-child(4){--ra-i:3}.ra-m-unfold.ra-m-stagger.animated>:nth-child(5){--ra-i:4}

/* One soft ring when an urgent call button arrives */
.animated .ra-m-pulse .elementor-button,.ra-m-pulse.animated .elementor-button{animation:raRing 1.3s ease-out .7s 1}

/* Buttons: a light sheen crosses on hover (plus the existing 1px lift) */
.elementor-button,.xpro-elementor-button,.xpro-post-grid-btn{transition:background-color .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s}
.elementor-button:hover,.xpro-elementor-button:hover{transform:translateY(-1px)}
@media (hover:hover){
 .elementor-button,.xpro-elementor-button,.xpro-post-grid-btn,.wpforms-submit{position:relative;overflow:hidden;isolation:isolate}
 .elementor-button::after,.xpro-elementor-button::after,.xpro-post-grid-btn::after,.wpforms-submit::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.26) 50%,transparent 70%);transform:translateX(-130%);transition:transform .75s var(--ra-ease)}
 .elementor-button:hover::after,.xpro-elementor-button:hover::after,.xpro-post-grid-btn:hover::after,.wpforms-submit:hover::after{transform:translateX(130%)}
 .ra-opt .elementor-button::after{display:none}
}
/* Magnetic CTA: JS sets --ra-mx/--ra-my on fine pointers only */
.ra-magnetic .elementor-button{transform:translate(var(--ra-mx,0),var(--ra-my,0));transition:transform .35s var(--ra-ease),background-color .2s,border-color .2s,color .2s,box-shadow .2s}
.ra-magnetic .elementor-button:hover{transform:translate(var(--ra-mx,0),calc(var(--ra-my,0px) - 1px))}

/* Logo: a small lift */
.ra-logo img{transition:transform .35s var(--ra-ease)}
@media (hover:hover){.ra-logo:hover img{transform:translateY(-2px)}}

/* Lift: generic hover depth for cards */
.ra-lift{transition:transform .25s var(--ra-ease),box-shadow .25s var(--ra-ease)}
@media (hover:hover){.ra-lift:hover{transform:translateY(-3px);box-shadow:0 14px 28px -18px rgba(42,20,30,.45)}}

/* Room tiles: an accent draws across the top edge; the call to action nudges */
.ra-room{background-image:linear-gradient(var(--e-global-color-accent),var(--e-global-color-accent));background-repeat:no-repeat;background-position:0 0;background-size:0% 3px;transition:transform .22s,box-shadow .22s,border-color .22s,background-size .4s var(--ra-ease)}
.ra-room>.elementor-widget-heading:last-child .elementor-heading-title::after{content:"\2192";display:inline-block;margin-left:6px;transition:transform .3s var(--ra-ease)}
.ra-room:focus-visible,.ra-room:active{background-size:100% 3px}
@media (hover:hover){.ra-room:hover{background-size:100% 3px}.ra-room:hover>.elementor-widget-heading:last-child .elementor-heading-title::after{transform:translateX(5px)}}

/* Landlord steps: the number uncovers as the card arrives, and steps forward on hover */
.ra-stepcard.animated>.elementor-widget-heading:first-child .elementor-heading-title{animation:raMask .8s var(--ra-ease-out) .15s backwards}
.ra-stepcard>.elementor-widget-heading:first-child .elementor-heading-title{transition:transform .3s var(--ra-ease),color .3s}
@media (hover:hover){.ra-stepcard:hover>.elementor-widget-heading:first-child .elementor-heading-title{transform:translateX(4px);color:var(--e-global-color-secondary)}}

/* Survey types table: column heads arrive in reading order; meters fill in sequence */
.animated .ra-table>.e-con:first-child>.e-con{animation:raRow .5s var(--ra-ease) backwards}
.animated .ra-table>.e-con:first-child>.e-con:nth-child(2){animation-delay:.1s}
.animated .ra-table>.e-con:first-child>.e-con:nth-child(3){animation-delay:.2s}
.animated .ra-table>.e-con:first-child>.e-con:nth-child(4){animation-delay:.3s}
.ra-meter>.e-con{transform-origin:0 50%}
.animated .ra-meter>.e-con{animation:raGrowX .55s var(--ra-ease) backwards}
.animated .ra-meter>.e-con:nth-child(1){animation-delay:.45s}
.animated .ra-meter>.e-con:nth-child(2){animation-delay:.6s}
.animated .ra-meter>.e-con:nth-child(3){animation-delay:.75s}
@media (hover:hover) and (min-width:761px){.ra-table>.e-con:not(:first-child){transition:box-shadow .2s}.ra-table>.e-con:not(:first-child):hover{box-shadow:inset 0 0 0 999px rgba(243,230,232,.35)}}

/* Example sample results: rows arrive, then each result is stamped */
.ra-sheet.animated>.e-con{animation:raRow .5s var(--ra-ease) backwards}
.ra-sheet.animated>.e-con:nth-child(2){animation-delay:.15s}.ra-sheet.animated>.e-con:nth-child(3){animation-delay:.25s}
.ra-sheet.animated>.e-con:nth-child(4){animation-delay:.35s}.ra-sheet.animated>.e-con:nth-child(5){animation-delay:.45s}
.ra-sheet.animated>.e-con:nth-child(6){animation-delay:.55s}
.ra-sheet.animated .ra-tag-w{animation:raStamp .55s var(--ra-spring) backwards}
.ra-sheet.animated>.e-con:nth-child(2) .ra-tag-w{animation-delay:.6s}.ra-sheet.animated>.e-con:nth-child(3) .ra-tag-w{animation-delay:.78s}
.ra-sheet.animated>.e-con:nth-child(4) .ra-tag-w{animation-delay:.96s}.ra-sheet.animated>.e-con:nth-child(5) .ra-tag-w{animation-delay:1.14s}
.ra-sheet.animated>.e-con:nth-child(6) .ra-tag-w{animation-delay:1.32s}
.ra-tilt{transform:perspective(1100px) rotateX(var(--ra-rx,0deg)) rotateY(var(--ra-ry,0deg));transition:transform .5s var(--ra-ease)}

/* Planner result: material rows cascade and tags are stamped each time the answer changes */
:is(.ra-result-body.is-new,.animated .ra-result-body) li{animation:raRow .45s var(--ra-ease) backwards}
:is(.ra-result-body.is-new,.animated .ra-result-body) li:nth-child(2){animation-delay:.06s}
:is(.ra-result-body.is-new,.animated .ra-result-body) li:nth-child(3){animation-delay:.12s}
:is(.ra-result-body.is-new,.animated .ra-result-body) li:nth-child(4){animation-delay:.18s}
:is(.ra-result-body.is-new,.animated .ra-result-body) li:nth-child(n+5){animation-delay:.24s}
:is(.ra-result-body.is-new,.animated .ra-result-body) .ra-tag{animation:raStamp .5s var(--ra-spring) .25s backwards}
.ra-say.is-new{animation:raGlow .9s ease-out}

/* FAQ: plus turns into minus with a quarter turn; the answer settles in */
.e-n-accordion-item-title-icon{position:relative}
.e-n-accordion-item-title-icon>span{position:absolute!important;inset:auto!important;top:50%!important;left:50%!important;width:12px!important;height:12px!important;margin:-6px 0 0 -6px!important;padding:0!important;line-height:0!important;display:block!important;transition:transform .35s var(--ra-ease),opacity .25s}
.e-n-accordion-item-title-icon>span>svg{display:block;width:12px!important;height:12px!important}
.e-n-accordion-item:not([open]) .e-n-accordion-item-title-icon>.e-opened{opacity:0;transform:rotate(-90deg)}
.e-n-accordion-item[open] .e-n-accordion-item-title-icon>.e-closed{opacity:0;transform:rotate(90deg)}
.e-n-accordion-item[open]>.e-con{animation:raSettle .45s var(--ra-ease) backwards}

/* Booking form choices: a short press when chosen (focus = the visitor just picked it, not the default) */
.ra-tiles li input:checked:focus+label{animation:raPop .32s var(--ra-ease)}

/* Blog grids: layout comes from CSS grid (see the widget's Custom CSS), so the grid
   library's "wait for every image" hiding and its looping spinner are not needed */
.elementor-widget.ra-postgrid .cbp .cbp-wrapper-outer{visibility:visible}
.elementor-widget.ra-postgrid .cbp .cbp-item{opacity:1}
.ra-postgrid .cbp::before,.ra-postgrid .cbp::after{display:none!important;animation:none!important}

/* Blog cards (Blogs page and Keep reading): reading-order rise, image settles from a slight zoom */
.ra-postgrid.animated{animation-name:raSettle!important;animation-duration:.3s!important}
.ra-postgrid.animated .cbp-item{animation:raRise .7s var(--ra-ease) backwards}
.ra-postgrid.animated .cbp-item:nth-child(2){animation-delay:.08s}.ra-postgrid.animated .cbp-item:nth-child(3){animation-delay:.16s}
.ra-postgrid.animated .cbp-item:nth-child(4){animation-delay:.24s}.ra-postgrid.animated .cbp-item:nth-child(5){animation-delay:.32s}
.ra-postgrid.animated .cbp-item:nth-child(n+6){animation-delay:.4s}
.ra-postgrid.animated .xpro-post-grid-image img{animation:raZoomOut 1.2s var(--ra-ease-out) backwards}
.xpro-post-grid-btn::before{content:"\2192";order:2;margin-left:8px;transition:transform .3s var(--ra-ease)}
@media (hover:hover){.xpro-post-grid-item:hover .xpro-post-grid-btn::before{transform:translateX(4px)}}

/* Blog post featured image: uncovers top-down while settling from a slight zoom */
.ra-feature{overflow:hidden;border-radius:14px}
.ra-feature.animated{animation-name:raUnfold!important;animation-duration:1.1s!important;animation-timing-function:var(--ra-ease-out)!important}
.ra-feature.animated img{animation:raZoomOut 1.4s var(--ra-ease-out) backwards}

/* Reading progress on blog posts (bar added by ra.js) */
.ra-progress{position:fixed;left:0;right:0;top:0;height:3px;z-index:60;pointer-events:none;background:var(--e-global-color-accent);transform-origin:0 50%;transform:scaleX(0)}
.admin-bar .ra-progress{top:var(--wp-admin--admin-bar--height,32px)}

/* Scroll-linked effects: progressive enhancement, large screens only */
@supports (animation-timeline:view()){
 @media (prefers-reduced-motion:no-preference){
  .ra-progress.is-css{animation:raProg linear both;animation-timeline:scroll(root)}
  @media (min-width:761px){
   /* The planner unfolds from an inset panel to full width as it arrives */
   #ra-plan{animation:raPanel linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
   @keyframes raPanel{from{clip-path:inset(0 3.5% 0 3.5% round 28px)}to{clip-path:inset(0 0 0 0 round 0)}}
   /* Featured image drifts gently as you scroll past it */
   .ra-feature img{animation:raDrift linear both;animation-timeline:view();animation-range:exit 0% exit 100%}
   .ra-feature:is(.animated,.ra-load) img{animation:raZoomOut 1.4s var(--ra-ease-out) backwards,raDrift linear both;animation-timeline:auto,view();animation-range:normal,exit 0% exit 100%}
   @keyframes raDrift{from{transform:none}to{transform:scale(1.06) translateY(5%)}}
  }
 }
}

/* Mobile: shorter travel */
@media (max-width:760px){
 @keyframes raLeft{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
 @keyframes raRight{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
 @keyframes raRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
}

/* Reduced motion: everything in its final state, nothing moves */
@media (prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{animation:none!important;transition:none!important}
 .elementor-invisible{visibility:visible!important;opacity:1!important}
 .ra-tilt,.ra-magnetic .elementor-button{transform:none!important}
 .ra-progress{display:none}
}
