/* Mesa-only visual system. Original content, provider controls and routes stay intact. */
:root {
  --mesa-surface: #f6f8fc;
  --mesa-line: #e0e6ef;
  --mesa-muted: #5c6880;
  --mesa-navy: #20264f;
}
/* Align the map with the same content edges and typography as the surrounding sections. */
body #main .mesa-area {
  padding: 64px 0;
  background: #fff;
  margin: 64px 0;
  border-top: 1px solid var(--mesa-line);
  border-bottom: 1px solid var(--mesa-line);
  color: var(--mesa-navy);
}
body #main .mesa-area__intro {
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
  align-items: center;
}
body #main .mesa-area h2 {
  font:
    400 clamp(31px, 3vw, 42px)/1.17 Georgia,
    serif;
  letter-spacing: -0.7px;
  color: var(--mesa-navy);
}
body #main .mesa-area .mesa-eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #61728e;
  margin-bottom: 12px;
}
body #main .mesa-area p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--mesa-muted);
}
body #main .mesa-area__body {
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 32px;
  align-items: center;
}
body #main .mesa-area__map .valley-map {
  border: 1px solid var(--mesa-line);
  border-radius: 6px;
}
body #main .mesa-area a:hover,
body #main .mesa-area a:focus-visible {
  color: #20264f;
}
body #main .mesa-area__copy > a,
body #main .mesa-area__nearby > a {
  border-color: #b4c3da;
}
body #main .mesa-area__communities nav a {
  border-color: var(--mesa-line);
  font-size: 12px;
  padding: 10px 0;
}
body #main .mesa-area__nearby {
  border-color: var(--mesa-line);
  padding-top: 20px;
  margin-top: 20px;
}
body #main .mesa-area__nearby strong {
  font:
    400 21px/1.4 Georgia,
    serif;
}
body #main .mesa-area .mesa-area__note {
  color: #64728a;
  font-size: 10px;
  margin-top: 15px;
}
body #main .mesa-trust {
  background: #f6f8fc;
  border-color: var(--mesa-line);
}
body #main .mesa-trust__item + div {
  border-color: var(--mesa-line);
}
body #main .mesa-trust__item svg {
  color: #647da8;
}
/* Remove nested review panels while keeping all live provider content and controls. */
body.home .home-reviews {
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
}
body.home .home-section-heading {
  border-bottom: 1px solid var(--mesa-line);
  padding-bottom: 23px;
  margin-bottom: 26px;
}
body.home .home-reviews__card {
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  min-height: 300px;
}
body .home-reviews__card .es-header-container {
  background: #f6f8fc !important;
  border: 1px solid var(--mesa-line);
  border-radius: 5px !important;
}
body .home-reviews__card .es-review-background-container {
  border: 1px solid var(--mesa-line);
  border-radius: 5px !important;
  overflow: hidden;
}
body .home-reviews__card .es-review-background-container .es-background-base {
  background: #f6f8fc !important;
}
body .home-reviews__card .es-review-card-tail {
  display: none;
}
body .home-reviews__card .es-header-heading-text,
body .home-reviews__card .es-review-author-name {
  color: var(--mesa-navy) !important;
}
body .home-reviews__card .es-review-content-text-container {
  color: #424c61 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
body .home-reviews__card .es-header-write-review-button {
  background: var(--mesa-navy) !important;
  color: white !important;
  border-radius: 4px !important;
}
/* Consistent service cards: photo above, readable copy below, with no hover-only text. */
body.home #services-row {
  background: #f6f8fc !important;
  color: var(--mesa-navy) !important;
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}
body.home #services-row > .upb_row_bg {
  background: #f6f8fc !important;
}
body.home #services-row h2 {
  color: var(--mesa-navy) !important;
  text-align: left !important;
  margin-bottom: 32px !important;
  font-size: 40px !important;
}
body.home #services-row .post-grid {
  display: grid !important;
  gap: 25px !important;
  align-items: stretch;
}
body.home #services-row .item-link-container {
  display: block;
  border: 1px solid var(--mesa-line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
  text-align: left;
  text-decoration: none;
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
body.home #services-row .item-link-container:hover,
body.home #services-row .item-link-container:focus-visible {
  border-color: #9aacc9;
  box-shadow: 0 10px 25px #20264f0c;
}
body.home #services-row .item-link-container:focus-visible {
  outline: 2px solid #667ca3;
  outline-offset: 4px;
}
body.home #services-row .item-bg-container {
  position: relative;
  display: block !important;
  height: 100% !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-size: 0 0 !important;
  background-repeat: no-repeat;
  background-color: #fff;
  overflow: hidden;
}
body.home #services-row .item-bg-container:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 205px;
  display: block;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}
body.home #services-row .item-bg-container > div {
  position: relative;
  margin-top: 205px;
  padding: 23px !important;
  background: #fff;
  transform: none !important;
}
body.home #services-row .item-bg-container h3 {
  color: var(--mesa-navy) !important;
  font:
    600 20px/1.3 Arial,
    sans-serif !important;
  letter-spacing: -0.3px;
  margin: 0 0 13px !important;
  min-height: 52px;
}
body.home #services-row .item-bg-container .excerpt {
  color: #5c6880 !important;
  font:
    400 13px/1.8 Arial,
    sans-serif !important;
  opacity: 1 !important;
  margin: 0 !important;
}
/* A lighter editorial photo grid, rather than six oversized picture buttons. */
body.home .home-portfolio__grid {
  gap: 28px 24px;
}
body.home .home-portfolio__grid > a {
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
body.home .home-portfolio__grid img {
  aspect-ratio: 4/3;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  transform: none !important;
  transition: opacity 0.25s;
}
body.home .home-portfolio__grid span {
  position: static;
  display: block;
  transform: none;
  background: none;
  color: #5c6880;
  padding: 12px 0 0;
  font:
    400 12px/1.6 Arial,
    sans-serif;
}
body.home .home-portfolio__grid a:hover img {
  opacity: 0.88;
}
body.home .home-story__photo img {
  box-shadow: none;
}
body.home .mesa-inquiry--home {
  box-shadow: none;
  border-color: var(--mesa-line);
}
body.home .mesa-inquiry--home .inquiry-card {
  background: #f6f8fc;
}
body.home .mesa-inquiry--home .inquiry-card__heading {
  border-color: var(--mesa-line);
}
body.home .mesa-inquiry--home .inquiry-window,
body.home .mesa-inquiry--home .inquiry-card .mesa-eyebrow {
  color: #61728e;
}
/* Recompose the original footer into quiet columns; retain every row, link and social icon. */
body #footer-clearfix {
  background: #20264f !important;
  color: #d9dfed !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: 1px solid #364166;
  font-family: Arial, Helvetica, sans-serif;
}
body #footer-clearfix > .container {
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  padding: 0 !important;
  margin: auto !important;
}
body #footer-clearfix #footer-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
body #footer-clearfix #footer {
  display: grid !important;
  grid-template-columns: 1.12fr 1.1fr 0.82fr 1fr;
  gap: 42px;
  position: relative !important;
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 60px 0 46px !important;
  margin: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
}
body #footer-clearfix #footer:before,
body #footer-clearfix #footer:after,
body #footer-clearfix .vc_row-full-width {
  display: none !important;
}
body #footer-clearfix #footer > .wpb_column {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}
body #footer-clearfix .vc_column-inner,
body #footer-clearfix .wpb_wrapper {
  padding: 0 !important;
  margin: 0 !important;
}
body #footer-clearfix .wpb_content_element {
  margin: 0 0 14px !important;
}
body #footer-clearfix #footer h3 {
  font:
    600 11px/1.5 Arial,
    sans-serif !important;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #fff !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
}
body #footer-clearfix #footer p,
body #footer-clearfix #footer .wpb_text_column {
  font:
    400 12px/1.9 Arial,
    sans-serif !important;
  color: #cbd3e5 !important;
}
body #footer-clearfix #footer ul:not(.social-icons) {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 9px;
}
body #footer-clearfix #footer ul:not(.social-icons) li {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  line-height: 1.6;
}
body #footer-clearfix #footer ul:not(.social-icons) a {
  display: inline !important;
  font:
    400 12px/1.6 Arial,
    sans-serif !important;
  color: #cbd3e5 !important;
  padding: 0 !important;
  text-decoration: none;
  border: 0 !important;
  background: none !important;
}
body #footer-clearfix #footer li:before,
body #footer-clearfix #footer li a:before {
  display: none !important;
}
body #footer-clearfix #footer a:hover {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
body #footer-clearfix a:focus-visible {
  outline: 2px solid #b5c7e8;
  outline-offset: 5px;
  border-radius: 2px;
}
body #footer-clearfix #footer table {
  width: 100%;
  border-collapse: collapse;
  background: transparent !important;
  font:
    400 11px/1.7 Arial,
    sans-serif !important;
  color: #cbd3e5 !important;
  margin: 0 !important;
  box-shadow: none;
  border: 0 !important;
}
body #footer-clearfix #footer tr,
body #footer-clearfix #footer td {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body #footer-clearfix #footer td {
  padding: 4px 0 !important;
  font: inherit !important;
  color: inherit !important;
}
body #footer-clearfix #footer td.hours {
  text-align: right;
  white-space: nowrap;
  padding-left: 10px !important;
}
body #footer-clearfix #footer .social-icons {
  display: flex !important;
  gap: 12px;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}
body #footer-clearfix #footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border: 1px solid #465174;
  border-radius: 50%;
  transition: border-color 0.2s;
}
body #footer-clearfix #footer .social-icons img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
body #footer-clearfix #footer-sub {
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 22px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-top: 1px solid #465174;
  box-sizing: border-box;
}
body #footer-clearfix #footer-sub p {
  font:
    400 11px/1.9 Arial,
    sans-serif !important;
  color: #b8c4dc !important;
  margin: 0 !important;
  text-align: center !important;
}
body #footer-clearfix #footer-sub a {
  color: #dfe6f4 !important;
  text-decoration: none !important;
}
body #footer-clearfix #footer-sub a:hover {
  text-decoration: underline !important;
}
@media (max-width: 950px) {
  body #footer-clearfix #footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 50px;
  }
  body #main .mesa-area__body {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  body #main .mesa-area__communities nav {
    grid-template-columns: repeat(3, 1fr);
  }
  body #main .mesa-area__nearby {
    max-width: none;
  }
  body #main .mesa-area__intro {
    gap: 28px;
  }
}
@media (max-width: 650px) {
  body #main .mesa-area {
    padding: 40px 0;
    margin: 45px 0;
  }
  body #main .mesa-area__intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
  }
  body #main .mesa-area h2 {
    font-size: 32px;
  }
  body #main .mesa-area__communities nav {
    grid-template-columns: repeat(2, 1fr);
  }
  body #main .mesa-area__body {
    gap: 22px;
  }
  body #main .mesa-area__nearby p {
    font-size: 13px;
  }
  body #main .mesa-area__intro p {
    font-size: 13px;
  }
  body.home #services-row {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
  body.home #services-row h2 {
    font-size: 32px !important;
  }
  body.home #services-row .post-grid {
    gap: 20px !important;
  }
  body.home #services-row .item-bg-container:before {
    height: 190px;
  }
  body.home #services-row .item-bg-container > div {
    margin-top: 190px;
    padding: 22px !important;
  }
  body.home #services-row .item-bg-container h3 {
    min-height: 0;
    font-size: 20px !important;
  }
  body.home .home-portfolio__grid {
    gap: 22px 14px;
  }
  body.home .home-portfolio__grid span {
    font-size: 11px;
    padding-top: 9px;
  }
  body.home .home-reviews {
    padding: 0;
  }
  body.home .home-reviews__card {
    padding: 0;
  }
  body.home .home-section-heading {
    padding-bottom: 19px;
  }
  body #footer-clearfix > .container {
    width: calc(100% - 44px) !important;
  }
  body #footer-clearfix #footer {
    padding: 42px 0 35px !important;
    gap: 30px 25px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  body #footer-clearfix #footer > .wpb_column:first-child,
  body #footer-clearfix #footer > .wpb_column:last-child {
    grid-column: 1/-1;
  }
  body #footer-clearfix #footer h3 {
    margin-bottom: 18px !important;
  }
  body #footer-clearfix #footer table {
    font-size: 12px !important;
    max-width: none;
  }
  body #footer-clearfix #footer ul:not(.social-icons) a {
    font-size: 12px !important;
  }
  body #footer-clearfix #footer-sub {
    padding: 20px 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home #services-row .item-link-container,
  body.home .home-portfolio__grid img,
  body #footer-clearfix #footer .social-icons a {
    transition: none;
  }
}

/* Imported builder spacing must not create an empty band above the grid. */
body.home #services-row .services-section-title-text {
  margin: 0 !important;
}
body.home #services-row .services-section-title-text h2 {
  margin: 0 !important;
}
body.home #services-row .services-section-title-text p:empty {
  display: none;
}
body.home #services-row section[aria-label="Grid of Services"] {
  padding: 27px 0 0 !important;
}
body .home-reviews__card .es-review-background-container {
  background: #f6f8fc !important;
}
body .home-reviews__card .es-review-content,
body .home-reviews__card .es-review-content-line-shortener {
  color: #424c61 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
body #footer-clearfix #footer h3 {
  font-size: 12px !important;
}
body #footer-clearfix #footer p,
body #footer-clearfix #footer .wpb_text_column,
body #footer-clearfix #footer ul:not(.social-icons) a {
  font-size: 13px !important;
}
body #footer-clearfix #footer table {
  font-size: 12px !important;
}
/* Give the provider's review panels a common baseline without limiting expanded text. */
body .home-reviews__card .es-review-background-container {
  min-height: 235px;
  box-sizing: border-box;
}
body #footer-clearfix #footer ul:not(.social-icons) li,
body #footer-clearfix #footer ul:not(.social-icons) li:hover {
  background: transparent !important;
}
/* Larger photography and stronger section rhythm, requested in the next owner review. */
body.home .home-story {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100vw - 64px));
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  margin: 100px 0;
  padding: 0;
}
body.home .home-story--reverse {
  grid-template-columns: 1.22fr 0.78fr;
}
body.home .home-story__photo img {
  width: 100% !important;
  border-radius: 5px !important;
}
body.home .home-story__copy > p {
  font-size: 15px;
  line-height: 1.9;
}
body.home .home-story__copy:before {
  height: 2px;
  width: 60px;
  background: #20264f;
}
body.home .home-estimate {
  grid-template-columns: 1fr 340px;
  gap: 60px;
  padding: 42px 55px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #d9e2ef;
  border-radius: 0;
  margin-top: 35px;
  margin-bottom: 0;
}
body.home .home-estimate > img {
  max-height: 510px;
  max-width: 340px;
}
body.home #services-row,
body.home #services-row > .upb_row_bg {
  background: #20264f !important;
}
body.home #services-row {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
body.home #services-row .services-section-title-text h2 {
  color: #fff !important;
}
body.home #services-row .item-link-container {
  border-color: #ffffff20;
}
body.home #services-row .item-bg-container:before {
  height: 270px;
}
body.home #services-row .item-bg-container > div {
  margin-top: 270px;
}
body.home #main .mesa-area {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  margin: 80px 0;
  padding: 80px max(24px, calc((100vw - 1120px) / 2));
  background: #f1f5fb;
  border: 0;
  box-sizing: border-box;
}
body.home .home-reviews {
  margin: 85px 0;
}
body.home .home-portfolio {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100vw - 64px));
  margin: 90px 0;
  padding: 0;
}
body.home .home-portfolio__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 30px;
}
body.home .home-portfolio__grid img {
  aspect-ratio: 3/2;
}
body.home .home-portfolio__grid span {
  font-size: 13px;
  padding-top: 14px;
}
body.home .mesa-inquiry--home {
  margin: 90px 0;
  border-top: 3px solid #20264f;
}
/* The footer opens with the existing brand and phone, framed by drawn window panes. */
body #footer-clearfix {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, #161c3d, #20264f 65%) !important;
  border-top: 0;
}
body #footer-clearfix .mesa-footer-lead {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 65px 0 60px;
  border-bottom: 1px solid #ffffff26;
  box-sizing: border-box;
  isolation: isolate;
}
body #footer-clearfix .mesa-footer-logo {
  display: block;
  width: 250px;
  max-width: 100%;
}
body #footer-clearfix .mesa-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}
body #footer-clearfix .mesa-footer-invitation {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
body #footer-clearfix .mesa-footer-invitation > span {
  font:
    600 10px/1.5 Arial,
    sans-serif;
  color: #b7c7e6;
  letter-spacing: 2px;
  text-transform: uppercase;
}
body #footer-clearfix .mesa-footer-phone {
  font:
    400 clamp(30px, 3.5vw, 48px)/1.2 Georgia,
    serif !important;
  letter-spacing: -1px;
  color: white !important;
  text-decoration: none;
  white-space: nowrap;
}
body #footer-clearfix .mesa-footer-phone:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}
body #footer-clearfix .mesa-footer-window {
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -75px;
  width: 260px;
  height: 300px;
  color: #b8ccef;
  opacity: 0.14;
  transform: rotate(-10deg);
  pointer-events: none;
}
body #footer-clearfix #footer {
  padding-top: 45px !important;
  padding-bottom: 45px !important;
  gap: 40px;
}
body #footer-clearfix #footer-sub {
  border-top: 1px solid #ffffff26;
}
@media (max-width: 950px) {
  body.home .home-story {
    gap: 35px;
    width: calc(100vw - 48px);
    grid-template-columns: 0.9fr 1.1fr;
    margin: 70px 0;
  }
  body.home .home-story--reverse {
    grid-template-columns: 1.1fr 0.9fr;
  }
  body.home .home-story__copy > p {
    font-size: 14px;
  }
  body.home .home-estimate {
    grid-template-columns: 1fr 290px;
    padding: 30px 0;
    gap: 30px;
  }
  body.home .home-estimate > img {
    max-height: 435px;
    width: 100%;
  }
  body.home .home-portfolio {
    width: calc(100vw - 48px);
  }
  body #footer-clearfix .mesa-footer-phone {
    font-size: 35px !important;
  }
}
@media (max-width: 650px) {
  body.home .home-story,
  body.home .home-story--reverse {
    width: calc(100vw - 32px);
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 55px 0;
  }
  body.home .home-story__copy {
    padding: 0 10px;
  }
  body.home .home-story__photo img {
    border-radius: 4px !important;
  }
  body.home .home-estimate {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 0 40px;
    margin: 20px 0 0;
  }
  body.home .home-estimate > img {
    width: 100%;
    max-width: 320px;
    max-height: none;
  }
  body.home #services-row {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }
  body.home #services-row .item-bg-container:before {
    height: 250px;
  }
  body.home #services-row .item-bg-container > div {
    margin-top: 250px;
  }
  body.home #main .mesa-area {
    padding: 45px 25px;
    margin: 50px 0;
  }
  body.home .home-reviews {
    margin: 50px 0;
  }
  body.home .home-portfolio {
    width: calc(100vw - 32px);
    margin: 55px 0;
  }
  body.home .home-portfolio .home-section-heading {
    padding-left: 10px;
    padding-right: 10px;
  }
  body.home .home-portfolio__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  body.home .home-portfolio__grid span {
    padding: 11px 10px 0;
    font-size: 12px;
  }
  body.home .mesa-inquiry--home {
    margin: 55px 0;
  }
  body #footer-clearfix .mesa-footer-lead {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 44px 0 38px;
  }
  body #footer-clearfix .mesa-footer-logo {
    width: 220px;
  }
  body #footer-clearfix .mesa-footer-window {
    right: -95px;
    bottom: 15px;
    width: 260px;
    height: 300px;
  }
  body #footer-clearfix .mesa-footer-phone {
    font-size: 35px !important;
  }
  body #footer-clearfix #footer {
    padding-top: 35px !important;
  }
}
body #footer-clearfix .mesa-footer-logo img {
  filter: brightness(0) invert(1);
}
body #footer-clearfix #footer {
  border-top: 0 !important;
}
