/* S06 Estimate band (#estimate). Owner: S06. Only what Elementor controls cannot do. */
/* Tablet and desktop: the card's left edge follows the same content edge as the boxed sections above (S04, S05), at every width, using their own container width variable. */
@media (min-width:768px){
body.page-id-5703 #estimate{--padding-left:max(30px,calc((100% - min(100%,var(--container-max-width)))/2));--padding-right:var(--padding-left)}
}
/* Phone: video becomes a top band (worker framed right of centre), card overlaps its lower edge on navy. */
@media (max-width:767px){
body.page-id-5703 #estimate{background-color:#001124!important;background-size:auto 460px!important;background-position:70% 0!important;background-repeat:no-repeat!important}
body.page-id-5703 #estimate .elementor-background-video-container{bottom:auto;height:460px;background-position:70% center!important}
body.page-id-5703 #estimate .elementor-background-video-hosted{object-position:70% center}
body.page-id-5703 #estimate::before{bottom:auto;height:460px}
/* Soft fade from the video band into the navy. It reaches solid navy at 460px and stays solid to 464px, so the band's sub-pixel bottom edge never shows as a light line. */
body.page-id-5703 #estimate::after{content:'';position:absolute;left:0;right:0;top:380px;height:84px;background:linear-gradient(to bottom,rgba(0,17,36,0) 0,#001124 80px,#001124 100%);pointer-events:none;z-index:0}
body.page-id-5703 #estimate .elementor-element-0e17f2d{z-index:1}
}
/* Phone box: keep the call link focus ring visible on the white card (brand navy). !important beats the theme's keyboard rule body.show_outline :focus{outline:1px dotted #888!important}. */
body.page-id-5703 #estimate .lz-s06-phone a:focus-visible{outline:3px solid #001124!important;outline-offset:4px;border-radius:6px}
/* Title: never split "On-Site" at its hyphen. */
body.page-id-5703 #estimate .lz-nowrap{white-space:nowrap}
/* Very small phones (under 380): keep the display title at 2 lines. */
@media (max-width:379px){body.page-id-5703 #estimate .elementor-element-ec571cb .elementor-heading-title{font-size:30px}}
/* Paragraph: avoid a one or two word last line. */
body.page-id-5703 #estimate .elementor-element-caaf32f p{text-wrap:pretty}
/* Title: balanced lines, so large phones (500 to 640) keep "Book Your Free / On-Site Estimate" instead of a lone "Estimate". */
body.page-id-5703 #estimate .elementor-element-ec571cb .elementor-heading-title{text-wrap:balance}

/* Under 360: heading and button fit without a lone word. */
@media (max-width:359px){
body.page-id-5703 #estimate .elementor-element-ec571cb .elementor-heading-title{font-size:28px}
body.page-id-5703 #estimate .elementor-element-e2dd502 .elementor-button{padding-left:16px;padding-right:16px;font-size:16px}
}
