/* Smart Life site styles, November 2026. Loaded after the CDN stylesheets.
   Everything is scoped to .sl-page (the main content column), .sl-hero-cta, .sl-nav-cta and the banner,
   so pages that have not been given those classes look exactly as before. */

/* Typeface: Inter (SIL Open Font License), served from this site. It is also declared under the name
   'Open Sans' so the older CDN stylesheets, which ask for Open Sans by name, pick it up without edits.
   The weight range starts at 300 so the old "thin" (100) text renders as a clean light weight. */
@font-face { font-family:'Inter'; font-style:normal; font-weight:300 800; font-display:swap; src:url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:italic; font-weight:300 800; font-display:swap; src:url('/fonts/inter-latin-wght-italic.woff2') format('woff2'); }
@font-face { font-family:'Open Sans'; font-style:normal; font-weight:300 800; font-display:swap; src:url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family:'Open Sans'; font-style:italic; font-weight:300 800; font-display:swap; src:url('/fonts/inter-latin-wght-italic.woff2') format('woff2'); }

:root { --sl-blue:#3880df; --sl-blue-dark:#1f5fb8; --sl-navy:#0e1a2b; --sl-ink:#152234; --sl-text:#3b4756; --sl-muted:#677385; --sl-line:#e3e8ef; --sl-tint:#f6f8fb; --sl-font:'Inter','Open Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; }

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .btn, .navbar, .dropdown-menu, input, select, textarea, button { font-family:var(--sl-font); }
body { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility; font-feature-settings:'cv11','ss01'; }
.navbar-nav > li > a { font-weight:500; letter-spacing:.1px; }
.dropdown-menu > li > a { font-weight:400; }
.carousel .item div[style*="font-size:40px"] { font-size:38px !important; font-weight:650 !important; letter-spacing:-.022em; line-height:1.15; text-shadow:0 2px 14px rgba(0,0,0,.45); }
.carousel .item .txt-xl { font-size:19px; font-weight:400; line-height:1.5; margin-top:8px; text-shadow:0 1px 8px rgba(0,0,0,.5); }

/* ---------- banner ---------- */
.banner[style*="position:relative"] { background:linear-gradient(90deg, rgba(12,24,44,.72) 0%, rgba(12,24,44,.45) 55%, rgba(12,24,44,.15) 100%) !important; }
.banner h1 { font-size:40px; font-weight:650; letter-spacing:-.024em; line-height:1.12; text-shadow:0 2px 14px rgba(0,0,0,.45); }
.banner h1 small { display:inline-block; margin-top:12px; font-size:18px; font-weight:400; letter-spacing:0; line-height:1.45; color:rgba(255,255,255,.92); }
.banner[style*="position:relative"] > .container { height:auto !important; min-height:350px; padding-top:78px !important; padding-bottom:56px !important; }
.sl-hero-cta { margin-top:22px; }
.carousel .sl-hero-cta { margin-top:18px; }
.carousel h1 { font-size:40px; font-weight:650; letter-spacing:-.024em; line-height:1.12; text-shadow:0 2px 14px rgba(0,0,0,.45); }
.sl-hero-cta .btn { border-radius:4px; font-weight:600; letter-spacing:.1px; padding:11px 22px; font-size:15px; margin-right:10px; margin-bottom:8px; border:0; }
.sl-hero-cta .btn-primary { background:var(--sl-blue); color:#fff; box-shadow:0 6px 18px rgba(56,128,223,.45); }
.sl-hero-cta .btn-primary:hover { background:var(--sl-blue-dark); }
.sl-hero-cta .btn-default { background:rgba(255,255,255,.94); color:var(--sl-ink); }

/* ---------- top menu button ---------- */
.navbar-nav > li.sl-nav-cta { float:right; }
.navbar-nav > li.sl-nav-cta > a { background:var(--sl-blue); color:#fff !important; font-weight:600; border-radius:4px; padding:6px 14px !important; margin:5px 0 5px 12px; line-height:1.4; }
.navbar-nav > li.sl-nav-cta > a:hover { background:var(--sl-blue-dark); text-decoration:none; }

/* ---------- main column ---------- */
.sl-page { color:var(--sl-text); padding-top:10px; }
.sl-page h2 { font-size:32px; font-weight:650; line-height:1.18; letter-spacing:-.022em; color:var(--sl-navy); margin:28px 0 6px; }
.sl-page h2 small { display:block; margin-top:10px; font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--sl-blue); }
.sl-page h3 { font-size:22px; font-weight:650; letter-spacing:-.015em; color:var(--sl-navy); margin:8px 0 16px; padding-left:14px; border-left:3px solid var(--sl-blue); line-height:1.3; }
.sl-page h4 { font-size:16.5px; font-weight:600; letter-spacing:-.005em; color:var(--sl-ink); }
.sl-page p, .sl-page li { font-size:16px; line-height:1.72; }
.sl-page .txt-thin { font-weight:400; }
.sl-page > p.txt-thin:first-of-type, .sl-page h2 + hr + p.txt-thin { font-size:18px; line-height:1.65; color:var(--sl-ink); letter-spacing:-.005em; }
.sl-page hr { border:0; border-top:1px solid var(--sl-line); margin:34px 0; }
.sl-page h2 + hr { margin:18px 0 24px; border-top:2px solid var(--sl-blue); width:48px; margin-left:0; }
.sl-page a { font-weight:500; }
.sl-page p.small, .sl-page .small { font-size:14px; }

/* "What we install" list: two columns with check marks on a tinted panel */
.sl-page h3 + ul.txt-thin { list-style:none; margin:0; padding:22px 24px 12px; background:var(--sl-tint); border:1px solid var(--sl-line); border-radius:4px; column-count:2; column-gap:34px; }
.sl-page h3 + ul.txt-thin > li { position:relative; padding:0 0 10px 30px; break-inside:avoid; font-size:15.5px; line-height:1.5; }
.sl-page h3 + ul.txt-thin > li:before { content:""; position:absolute; left:4px; top:5px; width:7px; height:12px; border:solid var(--sl-blue); border-width:0 2px 2px 0; transform:rotate(45deg); }

/* "How a project works": numbered steps */
.sl-page h3 + ol { list-style:none; counter-reset:slstep; margin:0; padding:0; }
.sl-page h3 + ol > li { counter-increment:slstep; position:relative; padding:0 0 18px 62px; margin-left:0; }
.sl-page h3 + ol > li:before { content:counter(slstep); position:absolute; left:0; top:0; width:40px; height:40px; border-radius:50%; background:var(--sl-navy); border:0; color:#fff; font-weight:600; font-size:15px; line-height:40px; text-align:center; font-variant-numeric:tabular-nums; }
.sl-page h3 + ol > li:after { content:""; position:absolute; left:19px; top:46px; bottom:4px; width:1px; background:var(--sl-line); }
.sl-page h3 + ol > li:last-child:after { display:none; }
.sl-page h3 + ol > li h4 { margin:6px 0 4px; }
.sl-page h3 + ol > li p { margin:0; }

/* "Where it fits": cards */
.sl-page h3 + ul:not(.txt-thin) { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:16px; }
.sl-page h3 + ul:not(.txt-thin) > li { flex:1 1 calc(50% - 16px); min-width:240px; background:#fff; border:1px solid var(--sl-line); border-top:2px solid var(--sl-navy); border-radius:4px; padding:18px 20px 12px; box-shadow:none; }
.sl-page h3 + ul:not(.txt-thin) > li h4 { margin:0 0 6px; }
.sl-page h3 + ul:not(.txt-thin) > li p { margin:0 0 6px; font-size:15px; line-height:1.55; }

/* Common questions */
.sl-page h4[style*="margin-top:24px"] { margin-top:0 !important; padding:18px 0 0; border-top:1px solid var(--sl-line); font-size:17px; }
.sl-page h3 + h4[style*="margin-top:24px"] { border-top:0; padding-top:0; }
.sl-page h4[style*="margin-top:24px"] + p { margin-bottom:18px; }

/* lead-in line above the contact buttons */
.sl-page p.sl-lead { background:var(--sl-navy); border-left:3px solid var(--sl-blue); border-radius:4px; padding:22px 26px; margin:0 0 10px !important; font-size:16px !important; color:rgba(255,255,255,.86); }
.sl-page p.sl-lead strong { display:block; font-size:20px; font-weight:600; letter-spacing:-.015em; color:#fff; margin-bottom:6px; }

/* contact buttons */
.sl-page a.btn.btn-block { border-radius:4px; padding:13px 10px; font-weight:600; letter-spacing:.1px; font-size:15px; white-space:normal; transition:transform .12s ease, box-shadow .12s ease; }
.sl-page a.btn.btn-block:hover { transform:translateY(-1px); box-shadow:0 8px 20px rgba(20,40,80,.14) !important; }
.sl-page a.btn.btn-block.btn-default { border:1px solid var(--sl-line); background:#fff; box-shadow:0 1px 2px rgba(14,26,43,.06) !important; }
.sl-page a.btn.btn-block.btn-default[href*="#scheduleacall"], .sl-page a.btn.btn-block.btn-primary { background:var(--sl-blue); border:1px solid var(--sl-blue); color:#fff; box-shadow:0 2px 6px rgba(56,128,223,.28) !important; }
.sl-page a.btn.btn-block.btn-primary:hover, .sl-page a.btn.btn-block.btn-default[href*="#scheduleacall"]:hover { background:var(--sl-blue-dark); color:#fff; }
.sl-page a.btn.btn-block[href*="#scheduleacall"] .glyphicon { color:#fff !important; }

/* home page: service links as tiles, section photos */
.sl-page ul.sl-links { list-style:none; margin:0 0 14px; padding:0; display:flex; flex-wrap:wrap; gap:12px; }
.sl-page ul.sl-links > li { flex:1 1 calc(50% - 12px); min-width:230px; position:relative; background:#fff; border:1px solid var(--sl-line); border-radius:4px; padding:16px 18px 16px 58px; font-size:16px; line-height:1.4; transition:border-color .15s ease, box-shadow .15s ease; }
.sl-page ul.sl-links > li .txt-thin { display:block; font-size:14px; margin-top:3px; }
.sl-page ul.sl-links > li .txt-thin a { font-weight:400; }
.sl-page .banner[style*="height:200px"] { border-color:var(--sl-line) !important; box-shadow:0 6px 20px rgba(20,40,80,.10); margin-bottom:20px !important; }

/* product grids */
.sl-page .row[style*="flex-wrap"] > div > a > span:first-child, .sl-page .row[style*="flex-wrap"] > div > div > span:first-child { border-radius:4px !important; border-color:var(--sl-line) !important; transition:box-shadow .15s ease, transform .15s ease; }
.sl-page .row[style*="flex-wrap"] > div > a:hover > span:first-child { box-shadow:0 8px 22px rgba(20,40,80,.12); transform:translateY(-2px); }
.sl-page .row[style*="flex-wrap"] span[style*="font-weight:700"] { font-size:14.5px; line-height:1.35; color:var(--sl-ink); }

/* tables */
.sl-page table.table { border:1px solid var(--sl-line); border-radius:8px; overflow:hidden; }
.sl-page table.table thead th { background:var(--sl-ink); color:#fff; border:0; font-size:14px; letter-spacing:.4px; }
.sl-page table.table td, .sl-page table.table th { padding:11px 14px; font-size:15px; }

@media (max-width: 767px) {
  .banner h1, .carousel h1 { font-size:27px; }
  .carousel .item div[style*="font-size:40px"] { font-size:27px !important; }
  .banner h1 small { font-size:16px; }
  .banner[style*="position:relative"] > .container { min-height:0 !important; padding-top:44px !important; padding-bottom:34px !important; }
  .carousel .item .container { height:300px !important; padding-top:40px !important; }
  .sl-hero-cta { margin-top:16px; }
  .sl-hero-cta .btn { padding:10px 16px; font-size:15px; margin-right:6px; }
  .sl-page { padding-top:0; }
  .sl-page p, .sl-page li { font-size:16px; line-height:1.65; }
  .sl-page > p.txt-thin:first-of-type, .sl-page h2 + hr + p.txt-thin { font-size:17.5px; }
  .sl-page hr { margin:26px 0; }
  .sl-page h3 + ol > li { padding-left:54px; }
  .sl-page table.table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .sl-page a.btn.btn-block { padding:14px 10px; }
  .sl-reviews-top { padding:30px 15px !important; }
  body { padding-bottom:76px; }
  .sl-page h2 { font-size:26px; }
  .sl-page h3 { font-size:21px; }
  .sl-page h3 + ul.txt-thin { column-count:1; padding:18px 16px 8px; }
  .sl-page h3 + ul:not(.txt-thin) > li, .sl-page ul.sl-links > li { flex-basis:100%; }
  .sl-page p.sl-lead strong { font-size:19px; }
}

/* tablets and small laptops */
@media (min-width: 768px) and (max-width: 991px) {
  .banner h1 { font-size:34px; }
  .sl-page h2 { font-size:30px; }
  .sl-page h3 + ul.txt-thin { column-count:1; }
  .sl-page h3 + ul:not(.txt-thin) > li, .sl-page ul.sl-links > li { flex-basis:100%; }
}
/* very wide screens: keep line length comfortable */
@media (min-width: 1600px) {
  .sl-page p, .sl-page li { font-size:17px; }
}
/* short, wide windows (phones on their side): keep the banner from filling the screen */
@media (max-height: 520px) and (orientation: landscape) {
  .banner[style*="position:relative"] > .container { min-height:0 !important; padding-top:30px !important; padding-bottom:26px !important; }
  .carousel .item .container { height:240px !important; padding-top:26px !important; }
}
/* everything stays inside the screen */
.sl-page img, .sl-page video, .sl-page iframe { max-width:100%; }
.sl-page { overflow-wrap:break-word; }

/* home page service tiles: one line icon each, in the site blue */
.sl-page ul.sl-links > li:hover { border-color:var(--sl-blue); box-shadow:0 4px 16px rgba(14,26,43,.07); }
.sl-page ul.sl-links > li > a:first-child { font-weight:600; color:var(--sl-navy); letter-spacing:-.01em; }
.sl-page ul.sl-links > li:before { content:""; position:absolute; left:18px; top:16px; width:26px; height:26px; background:no-repeat center/contain; }
.sl-page ul.sl-links > li:nth-child(1):before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233880df' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cpath d='M6 6h.01M6 18h.01M10 6h8M10 18h8'/%3E%3C/svg%3E"); }
.sl-page ul.sl-links > li:nth-child(2):before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233880df' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 7l-7 5 7 5V7z'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2'/%3E%3C/svg%3E"); }
.sl-page ul.sl-links > li:nth-child(3):before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233880df' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4M12 15v3'/%3E%3C/svg%3E"); }
.sl-page ul.sl-links > li:nth-child(4):before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233880df' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5L6 9H2v6h4l5 4V5z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }
.sl-page ul.sl-links > li:nth-child(5):before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233880df' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.sl-page ul.sl-links > li:nth-child(6):before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233880df' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4M7 10l3 3 7-6'/%3E%3C/svg%3E"); }
.sl-page ul.sl-links > li:nth-child(7):before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233880df' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/svg%3E"); }

/* sidebar estimate card */
.sl-side-cta { position:-webkit-sticky; position:sticky; top:24px; margin:10px 26px 30px 0; padding:26px 24px 22px; background:var(--sl-navy); border-radius:4px; color:rgba(255,255,255,.84); box-shadow:0 10px 30px rgba(14,26,43,.18); }
.sl-side-cta__kicker { font-size:11.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#7fb0f2; }
.sl-side-cta__title { font-size:21px; font-weight:650; letter-spacing:-.018em; color:#fff; margin:8px 0 8px; line-height:1.25; }
.sl-side-cta p { font-size:14.5px; line-height:1.6; margin:0 0 18px; }
.sl-side-cta .btn { border-radius:4px; border:0; background:var(--sl-blue); font-weight:600; font-size:15px; padding:12px 10px; }
.sl-side-cta .btn:hover { background:#4a90ea; }
.sl-side-cta__phone { display:block; text-align:center; margin-top:14px; font-size:14px; font-weight:500; color:#fff; }
.sl-side-cta__phone:hover, .sl-side-cta__phone:focus { color:#fff; text-decoration:underline; }
/* let the sidebar run the full height of the page so the card can stay in view */
@media (min-width: 992px) {
  @supports selector(:has(a)) {
    .row:has(> .sl-page) { display:flex; flex-wrap:wrap; }
    .row:has(> .sl-page):before, .row:has(> .sl-page):after { display:none; }
  }
}
