:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#13263c;background:#f6f8fb}*{box-sizing:border-box}body{margin:0;line-height:1.6}a{color:#0a5a8e;text-decoration:none}a:hover{text-decoration:underline}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}header{background:white;border-bottom:1px solid #e4eaf0;position:sticky;top:0;z-index:10}nav{min-height:82px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{font-size:27px;font-weight:900;letter-spacing:-1.2px;color:#122f50}.brand span{color:#1595b5}.navlinks{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.navlinks a{font-size:14px;font-weight:600}.btn{display:inline-block;background:#0877a7;color:#fff;border:0;border-radius:9px;padding:13px 22px;font-weight:700;font-size:15px;cursor:pointer;text-align:center}.btn:hover{background:#065d83;text-decoration:none}.btn.secondary{background:white;color:#11466a;border:1px solid #b9cbd9}.btn.small{padding:9px 14px;font-size:13px}.inline{display:inline}.textbutton{background:none;border:0;color:#0a5a8e;font-weight:600;cursor:pointer}.hero{background:linear-gradient(115deg,#0d2b48 0%,#0b4b6c 65%,#087f9e 100%);color:white;padding:100px 0 110px}.hero .wrap{max-width:1160px}.eyebrow{font-size:12px;letter-spacing:2.3px;font-weight:800;text-transform:uppercase;color:#159cbd;margin-bottom:12px}.hero .eyebrow{color:#89e2ef}h1,h2,h3{line-height:1.16;letter-spacing:-.025em}h1{font-size:clamp(35px,5vw,65px);margin:12px 0 22px}h2{font-size:clamp(25px,3vw,36px);margin:8px 0 26px}h3{font-size:21px;margin:8px 0 14px}.hero h1{max-width:780px}.hero h1 em{font-style:normal;color:#84e5ed}.hero p{font-size:19px;max-width:610px;color:#d7e7f0}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}.section{padding:70px 0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:#fff;border:1px solid #e3eaf1;border-radius:15px;padding:28px;box-shadow:0 8px 30px #0d28460a;overflow-wrap:anywhere}.card p{color:#4d6173}.card.featured{border:2px solid #159cbd}.number{font-size:30px;font-weight:900;color:#1494b3}.cta{background:#e7f2f8;padding:60px 0}.cta p{font-size:18px}.price{font-size:40px;font-weight:900;color:#0b547a}.price small{font-size:15px;font-weight:400}.muted{color:#63798b}.narrow{max-width:680px}.form{display:flex;flex-direction:column;gap:18px}.form label,.filters label{display:flex;flex-direction:column;gap:6px;font-weight:650}.form input,.form select,.form textarea,.filters input,.filters select{width:100%;padding:13px;border:1px solid #b9cbd9;border-radius:8px;font:inherit;background:#fff;color:#13263c}.form textarea{min-height:130px;resize:vertical}.form .check{display:flex;flex-direction:row;align-items:flex-start;font-weight:400}.form .check input{width:auto;margin-top:6px}.filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:30px 0}.filters label{flex:1;min-width:180px}.notice{margin-top:20px;padding:14px 20px;background:#e6f7ee;border-radius:8px}.notice.error{background:#fff0ec}footer{background:#102a43;color:#d8e6f0;margin-top:40px;padding:45px 0}.footer{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.footer a{color:#c5e9fa}@media(max-width:850px){nav{padding:15px 0;align-items:flex-start;flex-direction:column}.navlinks{gap:13px}.cards{grid-template-columns:1fr 1fr}.hero{padding:75px 0}}@media(max-width:600px){.cards{grid-template-columns:1fr}.section{padding:45px 0}.hero{padding:65px 0}.wrap{width:min(100% - 28px,1160px)}.navlinks a{font-size:13px}.card{padding:22px}}
.work-fieldset{border:1px solid #d5e1eb;border-radius:12px;padding:18px;margin:0}.work-fieldset legend{padding:0 8px}.work-group{border:1px solid #e0e9ef;border-radius:8px;margin:10px 0;background:#fbfdff}.work-group summary{cursor:pointer;padding:12px 14px;font-weight:700;color:#174967}.work-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;padding:10px 14px 16px}.work-option{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px!important;font-size:14px;font-weight:400!important;cursor:pointer}.work-option input{width:auto!important;margin:5px 0 0;flex-shrink:0}.work-tags{padding:0;display:flex;flex-wrap:wrap;gap:6px;list-style:none}.work-tags li{font-size:12px;background:#e7f4fa;color:#185572;border-radius:20px;padding:5px 9px}

/* FACILEDILE: five-stage architectural homepage gallery */
.hero-gallery{position:relative;isolation:isolate;overflow:hidden;min-height:560px;display:flex;align-items:center;background:#0c2a43;padding:95px 0 105px}.hero-slides{position:absolute;inset:0;z-index:-1;pointer-events:none}.hero-slide{position:absolute;inset:0;opacity:0;background-position:center;background-size:cover;animation:gallery-cycle 25s infinite;will-change:opacity}.hero-slide:nth-child(1){animation-delay:0s}.hero-slide:nth-child(2){animation-delay:5s}.hero-slide:nth-child(3){animation-delay:10s}.hero-slide:nth-child(4){animation-delay:15s}.hero-slide:nth-child(5){animation-delay:20s}.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,29,51,.91) 0%,rgba(8,36,60,.73) 48%,rgba(8,35,55,.26) 100%)}.hero-blueprint{background-color:#103b5c;background-image:linear-gradient(#b7d6e91c 1px,transparent 1px),linear-gradient(90deg,#b7d6e91c 1px,transparent 1px),linear-gradient(125deg,#0a243c,#1a6382);background-size:36px 36px,36px 36px,cover}.blueprint-lines{position:absolute;right:7%;top:14%;width:44%;height:68%;border:3px solid #b2e4f5a8;transform:rotate(-9deg);box-shadow:inset 0 0 0 20px #0b304a, inset 0 0 0 23px #b2e4f590}.blueprint-lines:before{content:"";position:absolute;inset:22% 17%;border:3px solid #b2e4f5b0;border-left-width:16px;border-bottom-width:9px}.blueprint-lines:after{content:"";position:absolute;left:47%;top:0;height:100%;border-left:2px dashed #b2e4f59c}.hero-content{position:relative;z-index:1}.hero-gallery h1,.hero-gallery p{filter:drop-shadow(0 2px 8px #001c30)}.slide-caption{position:absolute;bottom:24px;right:max(20px,calc((100vw - 1160px)/2));z-index:2;color:#fff;font-size:11px;font-weight:800;letter-spacing:2px}.slide-progress{display:flex;gap:7px;margin-top:48px}.slide-progress span{width:35px;height:4px;border-radius:10px;background:#ffffff70;animation:gallery-progress 25s infinite}.slide-progress span:nth-child(1){animation-delay:0s}.slide-progress span:nth-child(2){animation-delay:5s}.slide-progress span:nth-child(3){animation-delay:10s}.slide-progress span:nth-child(4){animation-delay:15s}.slide-progress span:nth-child(5){animation-delay:20s}@keyframes gallery-cycle{0%{opacity:0}3%{opacity:1}19%{opacity:1}23%,100%{opacity:0}}@keyframes gallery-progress{0%,3%{background:#8de7f3}19%{background:#8de7f3}23%,100%{background:#ffffff70}}.hero-gallery:hover .hero-slide,.hero-gallery:hover .slide-progress span{animation-play-state:paused}@media(max-width:600px){.hero-gallery{min-height:540px;padding:70px 0 80px}.hero-slide:after{background:linear-gradient(90deg,#081e35e8,#092c4fc2)}.slide-caption{bottom:16px;right:14px;left:14px;text-align:right;font-size:9px}.blueprint-lines{width:68%;right:5%;opacity:.65}}@media(prefers-reduced-motion:reduce){.hero-slide,.slide-progress span{animation:none!important}.hero-slide:first-child{opacity:1}}

.hero-photo-1{background-image:url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=85")}
.hero-photo-2{background-image:url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=1800&q=85")}
.hero-photo-3{background-image:url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=85")}
.hero-photo-4{background-image:url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=85")}

.crm-banner{margin:22px 0;background:linear-gradient(110deg,#e9f5fa,#fff)}.crm-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.crm-heading{margin-top:40px}.crm-list-item{padding:14px 0;border-bottom:1px solid #e1eaf1}.crm-list-item:last-child{border:0}.crm-list-item p{margin:4px 0}.crm-line-items{display:grid;gap:9px}.crm-line{display:grid;grid-template-columns:minmax(220px,3fr) minmax(80px,1fr) minmax(90px,1fr) minmax(110px,1fr);gap:8px}.crm-line input{min-width:0;width:100%;padding:10px;border:1px solid #b9cbd9;border-radius:8px}.crm-table-wrap{overflow-x:auto}.crm-table{width:100%;border-collapse:collapse;margin:25px 0}.crm-table th,.crm-table td{padding:12px;text-align:left;border-bottom:1px solid #dce5ee}.crm-table th{background:#e9f4fa}.estimate-totals{text-align:right}.estimate-totals h2{color:#0b547a}.crm-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:25px 0}.crm-actions form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.crm-actions select{padding:10px}.preline{white-space:pre-line}@media(max-width:850px){.crm-columns{grid-template-columns:1fr}.crm-line{grid-template-columns:1fr 1fr}.crm-line input:first-child{grid-column:1/-1}}@media print{header,footer,.no-print,.notice{display:none!important}body{background:#fff}.section{padding:0}.estimate-sheet{border:0;box-shadow:none;padding:0}.wrap{width:100%}}

.crm-logo-preview{max-width:230px;max-height:110px;object-fit:contain;display:block;margin:0 0 20px}.crm-line{grid-template-columns:minmax(170px,2fr) minmax(220px,3fr) minmax(75px,1fr) minmax(90px,1fr) minmax(100px,1fr)}.crm-line select{min-width:0;width:100%;padding:10px;border:1px solid #b9cbd9;border-radius:8px;background:white}.crm-line input:first-of-type{grid-column:auto}@media(max-width:850px){.crm-line{grid-template-columns:1fr 1fr}.crm-line select,.crm-line input:first-of-type{grid-column:1/-1}}

/* FACILEDILE matching dashboard */
.match-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:28px 0 16px}.match-stat{padding:18px 20px;border:1px solid #dce8f0;border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:5px}.match-stat span{font-size:12px;color:#5a7284;font-weight:700}.match-stat strong{font-size:23px;color:#103b5b}.match-meter{height:10px;background:#e4edf4;border-radius:20px;overflow:hidden;margin:0 0 24px}.match-meter span{display:block;height:100%;background:linear-gradient(90deg,#1686b3,#19b6b0);border-radius:20px;max-width:100%}.match-label{display:inline-block;color:#096b82;background:#e6f6f6;border-radius:18px;padding:4px 10px;font-size:12px;font-weight:800;letter-spacing:.03em}.match-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.match-tags span{display:inline-block;background:#edf4f8;color:#24536b;border-radius:9px;padding:5px 9px;font-size:12px;font-weight:650}@media(max-width:850px){.match-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.match-summary{grid-template-columns:1fr 1fr}.match-stat{padding:12px}.match-stat strong{font-size:18px}}

/* Company-specific watermark behind CRM, never behind public pages. */
body.crm-branded{position:relative;isolation:isolate}
.crm-brand-watermark{position:fixed;inset:75px 0 0;z-index:0;pointer-events:none;background-position:center 45%;background-size:min(58vw,520px) auto;background-repeat:no-repeat;opacity:.075;filter:grayscale(1)}
body.crm-branded main{position:relative;z-index:1;background:transparent}body.crm-branded header,body.crm-branded footer{position:relative;z-index:2}
body.crm-branded .card,body.crm-branded .notice,body.crm-branded form.card{background-color:rgba(255,255,255,.96)}
@media(max-width:650px){.crm-brand-watermark{background-size:72vw auto;opacity:.055}}
@media print{.crm-brand-watermark{display:none}}

/* FACILEDILE mobile contractor PWA navigation */
.pwa-bottom-nav{display:none}@media(max-width:750px){body.crm-branded{padding-bottom:78px}body.crm-branded .section{padding-top:28px;padding-bottom:28px}.pwa-bottom-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);z-index:50;background:#fff;border-top:1px solid #d7e2eb;padding:10px 6px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #122f5014}.pwa-bottom-nav a{text-align:center;color:#122f50;font-size:12px;font-weight:700;padding:9px 2px}.crm-table-wrap{overflow-x:auto}}@media print{.pwa-bottom-nav{display:none!important}}

.daily-home h1{font-size:clamp(27px,4vw,43px)}.daily-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.daily-kpis .card{padding:18px;display:flex;flex-direction:column;gap:6px}.daily-kpis strong{font-size:30px;color:#122f50}.daily-kpis span{font-size:13px;color:#64748b}.daily-columns{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;margin-top:24px}.daily-columns h2{font-size:22px}.daily-columns .card{margin-bottom:18px}.daily-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-top:1px solid #e5ebf1;padding:14px 0}.daily-item p{font-size:13px;color:#66758a;margin:4px 0}.daily-item a{white-space:nowrap;font-weight:700}.daily-site-links{display:flex;flex-direction:column;gap:6px}.daily-alert{font-size:12px;color:#ad332a;font-weight:800}.daily-active{font-size:12px;color:#0877a7;font-weight:800}.daily-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:750px){.daily-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-columns{grid-template-columns:1fr}.daily-kpis strong{font-size:25px}.daily-home .card{padding:16px}}

/* FACILEDILE visual design system: mobile-first branded CRM */
.crm-branded{background:linear-gradient(180deg,#edf4f9 0,#f6f8fb 400px)}
.crm-branded .visual-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px;padding:30px 34px;min-height:170px;color:#fff;border-radius:22px;background:linear-gradient(125deg,#0c2948 5%,#0d5575 65%,#087c9b 100%);box-shadow:0 14px 32px rgba(15,54,81,.14)}
.crm-branded .visual-hero:before{content:"";position:absolute;inset:-100px -50px auto auto;width:320px;height:320px;border-radius:50%;border:46px solid rgba(255,255,255,.06);z-index:-1}
.crm-branded .visual-hero:after{content:"";position:absolute;bottom:-100px;right:60px;width:220px;height:220px;border-radius:40px;transform:rotate(35deg);background:rgba(255,255,255,.05);z-index:-1}
.visual-hero>div:first-child{display:flex;flex-direction:column;gap:8px}.visual-hero strong{font-size:clamp(23px,3vw,34px);line-height:1.2;letter-spacing:-.04em}.visual-kicker{font-size:11px;letter-spacing:.14em;color:#a7e9f6;font-weight:800}.visual-hero-symbol{font-size:100px;line-height:1;color:#d1f5ff;opacity:.55;transform:rotate(-9deg);font-weight:200}
.crm-branded .card{border:1px solid #e1eaf1;box-shadow:0 5px 22px rgba(16,51,76,.055);border-radius:16px}
.crm-branded .card h2{font-size:clamp(21px,2.5vw,27px)}
.crm-branded .crm-list-item{position:relative;transition:background .2s,padding .2s;border-radius:10px}
.crm-branded .crm-list-item:hover{background:#f2f8fc}
.crm-branded .crm-table thead{background:#eaf4f9;color:#153a56}
.crm-branded .btn{box-shadow:0 4px 10px rgba(8,119,167,.14)}
.daily-kpis .card{position:relative;overflow:hidden;background:linear-gradient(155deg,#fff 50%,#f0f8fc)}
.daily-kpis .card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#0c668b,#42b8cc)}
.daily-kpis .card:nth-child(3):before{background:#e3a14b}
.daily-kpis .card:nth-child(4):before{background:#6977b7}
.daily-item{position:relative}.daily-item:hover{background:#f7fbfe}
@media(max-width:750px){.crm-branded .visual-hero{padding:22px 20px;min-height:135px;border-radius:16px}.visual-hero-symbol{font-size:68px}.crm-branded .card{border-radius:14px}.crm-branded .visual-hero strong{font-size:23px}}
@media print{.visual-hero{display:none!important}.crm-branded .card{box-shadow:none!important}}

/* Service-responsive customer quote experience */
.quote-experience{max-width:1100px}.quote-hero{position:relative;min-height:370px;border-radius:24px;overflow:hidden;background:#153a56;color:white;box-shadow:0 20px 40px #12354b24;display:flex;align-items:flex-end}.quote-hero-image{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(10,33,53,.72),rgba(10,33,53,.1)),url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1200&q=85');background-size:cover;background-position:center;transition:background-image .2s}.quote-hero-content{position:relative;z-index:1;max-width:650px;padding:40px}.quote-hero h1{font-size:clamp(34px,5vw,58px);color:white;margin:10px 0 14px}.quote-hero p{font-size:19px;line-height:1.5;color:#f0f7fa}.quote-hero-note{display:inline-block;margin-top:14px;font-size:11px;color:#dce9ef}.quote-intro{display:flex;justify-content:space-between;gap:22px;align-items:center;margin:32px 0 20px}.quote-intro h2{margin:0 0 8px}.quote-intro p{margin:0;color:#526578}.quote-steps{display:flex;gap:8px;flex-wrap:wrap}.quote-steps span{border:1px solid #d4e3ee;background:white;border-radius:30px;padding:8px 12px;font-size:12px;font-weight:700;color:#1a506d}.quote-experience>.form{max-width:900px;margin:auto;padding:30px;border-radius:20px;box-shadow:0 10px 34px #153a5614}.quote-guide{border-left:4px solid #0c91b3;background:#eaf6fb;border-radius:8px;padding:14px 18px}.quote-guide p{margin:5px 0 0;color:#33576d}@media(max-width:750px){.quote-hero{min-height:320px;border-radius:16px}.quote-hero-content{padding:24px}.quote-hero h1{font-size:33px}.quote-hero p{font-size:16px}.quote-intro{display:block}.quote-steps{margin-top:18px}.quote-experience>.form{padding:18px}}
